Are you using transactions?  If so, are you marking the exception as "handled"?

On Thu, Jul 26, 2012 at 12:54 AM, nishant.rupani
<nishant.rup...@morganstanley.com> wrote:
> Yes, it's WebSphere MQ. I have created ERROR queue as well. Please see my 
> other reply wherein I have put the code snippet as well.
>
> Regards,
> Nishant
>
>
> From: Christian Mueller [via Camel] 
> [mailto:ml-node+s465427n5716485...@n5.nabble.com]
> Sent: Thursday, July 26, 2012 3:03 AM
> To: Rupani, Nishant (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]</user/SendEmail.jtp?type=node&node=5716485&i=0>> wrote:
>
>> 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.
>>
>> We are using camel 2.9.0
>>
>>
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/Not-writing-to-Error-queue-tp5716435.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion 
> below:
> http://camel.465427.n5.nabble.com/Not-writing-to-Error-queue-tp5716435p5716485.html
> To unsubscribe from Not writing to Error queue, click 
> here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5716435&code=bmlzaGFudC5ydXBhbmlAbW9yZ2Fuc3RhbmxleS5jb218NTcxNjQzNXwtMTA4NDIwMDI5OQ==>.
> NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
> --------------------------------------------------------------------------
> NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions 
> or views contained herein are not intended to be, and do not constitute, 
> advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform 
> and Consumer Protection Act. If you have received this communication in 
> error, please destroy all electronic and paper copies and notify the sender 
> immediately. Mistransmission is not intended to waive confidentiality or 
> privilege. Morgan Stanley reserves the right, to the extent permitted under 
> applicable law, to monitor electronic communications. This message is subject 
> to terms available at the following link: 
> http://www.morganstanley.com/disclaimers. If you cannot access these links, 
> please notify us by reply message and we will send the contents to you. By 
> messaging with Morgan Stanley you consent to the foregoing.
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Not-writing-to-Error-queue-tp5716435p5716500.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to