osb

OSB - JMS - Error Handler


I'm having some troubles trying to catch an error on OSB when I put a message on queue and JMS Server is down, I have a proxy service calling a business service that have a jms configured. My proxy service already have Transaction Required and Same Transaction For Response enabled.

The error on Admin log:

Destination unreachable; nested exception is: java.net.ConnectException: Connection refused: connect; No available router to destination

But the exception don't catch on ErrorHandler :(


Solution

  • I found the error, the problem is that I was using Publish instead of Routing, after I changed everything worked.