I am usign a router to consume messages from MQ. On exception, I want write
the incoming message to the error queue. However, it is not writing message
to error queue.
For testing, I called a method of a bean on exception and that worked fine.
but it is not publishing the message to error queue.
: Wednesday, July 25, 2012 1:34 PM
To: Rupani, Nishant (ISGT)
Subject: Re: Not writing to Error queue
How did you setup the DeadLetterQueue ?
On Wed, Jul 25, 2012 at 2:53 PM, nishant.rupani <
[hidden email]> wrote:
> I am usign a router to consume messages from MQ. On exception, I want wr
I don't see any reference of retry or error queue write in logs. Method
exceptionPrint is being called fine.
Snippet of my context is -
1)
http://camel.apache.org/schema/spring"; trace="true">
java.sql.SQLException
shant (ISGT)
Subject: Re: Not writing to Error queue
With MQ, do you mean what? WebSphere MQ (I assume), ActiveMQ, RabittMQ, ...
If you use WebSphere MQ, you have to create the ERROR queue upfront, did
you?
Best,
Christian
On Wed, Jul 25, 2012 at 8:53 AM, nishant.rupani <
[hidden email]> wro
o: Rupani, Nishant (ISGT)
Subject: Re: Not writing to Error queue
Are you using transactions? If so, are you marking the exception as "handled"?
On Thu, Jul 26, 2012 at 12:54 AM, nishant.rupani
<[hidden email]> wrote:
> Yes, it's WebSphere MQ. I have created ERROR q
abble.com]
Sent: Friday, July 27, 2012 10:48 AM
To: Rupani, Nishant (ISGT)
Subject: Re: Not writing to Error queue
Hi,
Why are you using the scheme of wmqError?
Did you setup up jms component with id of wmqError rightly?
On 7/25/12 5:50 PM, nishant.rupani wrote:
> I don't see any reference
ue
May be the exceptionPrint method of exceptionHandler throws an exception?
Christian
On Fri, Jul 27, 2012 at 7:25 AM, nishant.rupani <
[hidden email]> wrote:
> Hi,
>
> Yes, I've setup JMS. I checked the setup by putting " uri="wmqError:${error.queue}" />
12 6:57 AM
To: Rupani, Nishant (ISGT)
Subject: Re: Not writing to Error queue
On 7/27/12 1:25 PM, nishant.rupani wrote:
> Hi,
>
> Yes, I've setup JMS. I checked the setup by putting " uri="wmqError:${error.queue}" />" directly into the router and it worked well.
iguration). I'm a bit confused because you use 'wmq' and
'wmqError' as schema name. Did you also configured two JMS components? If
yes, why? If no, it cannot work...
Best,
Christian
On Fri, Jul 27, 2012 at 10:10 AM, nishant.rupani <
[hidden email]> wrote:
> No