RE: How to handle exception within consumer?

2015-06-04 Thread soadb
ethod doesn't do it. Thanks for the help though. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-handle-exception-within-consumer-tp5767841p5767877.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: How to handle exception within consumer?

2015-06-03 Thread Justin Rosenberg
handle exception within consumer? Have you tried catching RuntimeCamelException while making a call. http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/ConsumerTemplate.html CONFIDENTIALITY NOTICE: The information in this message, and any attachment, is intended for the sole

Re: How to handle exception within consumer?

2015-06-03 Thread Ravindra Godbole
Have you tried catching RuntimeCamelException while making a call. http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/ConsumerTemplate.html

How to handle exception within consumer?

2015-06-03 Thread soadb
27.n5.nabble.com/How-to-handle-exception-within-consumer-tp5767841.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: My camel route not able to handle exception.

2013-09-16 Thread bhaumikananda
7.n5.nabble.com/My-camel-route-not-able-to-handle-exception-tp5739381p5739525.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: My camel route not able to handle exception.

2013-09-16 Thread Willem jiang
ttp://mq.host.name)}" /> > > > > > /> > > > ** Also I think it will be useful if I share the DB connection as well ** > > > > > > destroy-method="close"> > /> > > > > > > 8 > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/My-camel-route-not-able-to-handle-exception-tp5739381p5739494.html > Sent from the Camel - Users mailing list archive at Nabble.com > (http://Nabble.com).

Re: My camel route not able to handle exception.

2013-09-16 Thread bhaumikananda
-able-to-handle-exception-tp5739381p5739494.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: My camel route not able to handle exception.

2013-09-16 Thread bhaumikananda
context: http://camel.465427.n5.nabble.com/My-camel-route-not-able-to-handle-exception-tp5739381p5739469.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: My camel route not able to handle exception.

2013-09-15 Thread Willem jiang
ger > (http://www.sbrs.mySystem.util.InLogger)"/> > > > > @someExpression and @someExpression1 > loggingLevel="INFO" > logName="com.bbb.www.sbrs.mySystem.util.InLogger > (http://www.sbrs.mySystem.util.InLogger)"/> > > > > &g

My camel route not able to handle exception.

2013-09-14 Thread bhaumikananda
ttp://camel.465427.n5.nabble.com/My-camel-route-not-able-to-handle-exception-tp5739381.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: My camel route not able to handle exception.

2013-09-14 Thread bhaumikananda
heavily depend on JmsTimeStamp of the exchange header. The route is mentioned below. Any suggestion would be helpful. -- View this message in context: http://camel.465427.n5.nabble.com/My-camel-route-not-able-to-handle-exception-tp5739379p5739380.html Sent from the Camel - Users mailing list

My camel route not able to handle exception.

2013-09-14 Thread bhaumikananda
ssException -- View this message in context: http://camel.465427.n5.nabble.com/My-camel-route-not-able-to-handle-exception-tp5739379.html Se

Re: DeadLetterChanel does not handle exception.

2013-04-25 Thread aram
Thank you! It really helped to solve the problem. -- View this message in context: http://camel.465427.n5.nabble.com/DeadLetterChanel-does-not-handle-exception-tp5731073p5731528.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: DeadLetterChanel does not handle exception.

2013-04-25 Thread Claus Ibsen
gt;> >> >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/DeadLetterChanel-does-not-handle-exception-tp5731073p5731319.html >> Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Cl

Re: DeadLetterChanel does not handle exception.

2013-04-24 Thread Claus Ibsen
lem : > > java.lang.AssertionError: mock://log:send Received message count. Expected: > <4> but was: <28> > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/DeadLetterChanel-does-not-handle-exception-tp5731073p5731319.html > Sent from the Camel - Users

Re: DeadLetterChanel does not handle exception.

2013-04-22 Thread aram
I tried it on a camel 2.11.0 , but there is the same problem : java.lang.AssertionError: mock://log:send Received message count. Expected: <4> but was: <28> -- View this message in context: http://camel.465427.n5.nabble.com/DeadLetterChanel-does-not-handle-exception-tp5731073p

Re: DeadLetterChanel does not handle exception.

2013-04-22 Thread Christian Müller
int me please where to see to figure out cause of issue? > > Thank you! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/DeadLetterChanel-does-not-handle-exception-tp5731073p5731251.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: DeadLetterChanel does not handle exception.

2013-04-22 Thread vladimirfx
is invalid. Claus, point me please where to see to figure out cause of issue? Thank you! -- View this message in context: http://camel.465427.n5.nabble.com/DeadLetterChanel-does-not-handle-exception-tp5731073p5731251.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: DeadLetterChanel does not handle exception.

2013-04-18 Thread aram
Change. But same result. -- View this message in context: http://camel.465427.n5.nabble.com/DeadLetterChanel-does-not-handle-exception-tp5731073p5731075.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: DeadLetterChanel does not handle exception.

2013-04-18 Thread Claus Ibsen
tely because of jms > transaction redelivery, and dont send it to the deadLetterUri. If i remove > onException it works fine , but without redelivery. Is it a bug or wrong > configuration ? > redeliveryTest.zip > <http://camel.465427.n5.nabble.com/file/n5731073/redeliveryTest.zip>

DeadLetterChanel does not handle exception.

2013-04-18 Thread aram
age in context: http://camel.465427.n5.nabble.com/DeadLetterChanel-does-not-handle-exception-tp5731073.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Handle exception

2013-03-05 Thread Jean Francois LE BESCONT
xchange[null] >> > >> > In my log >> > >> > I have play with : >> > >> > onException(PredicateValidationException.class).handled(true / false) >> > .to("mock:err") .end(); >> > >> > If I put false I continue to have log error and if I put true my >> > direct:erreurFormatAEDFonctionnelZone is not called ... >> > >> > >> > >> > Any idea of how solve this ? >> > >> > Thanks ! >> >> >> >> >> >> - >> Ben O'Day >> IT Consultant -http://consulting-notes.com >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/Handle-exception-tp5728590p5728592.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> > >

Re: Handle exception

2013-03-05 Thread boday
onException.class).handled(true / false) > .to("mock:err") .end(); > > If I put false I continue to have log error and if I put true my > direct:erreurFormatAEDFonctionnelZone is not called ... > > > > Any idea of how solve this ? > > Thanks ! - Ben O'Day IT Consultant -http://consulting-notes.com -- View this message in context: http://camel.465427.n5.nabble.com/Handle-exception-tp5728590p5728592.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How can I handle exception message?

2011-12-05 Thread focaldi
Thanks Willem I used "seda:error" for deadletterurl and it works. Thanks for your help Willem and Claus... -- View this message in context: http://camel.465427.n5.nabble.com/How-can-I-handle-exception-message-tp5051151p5051307.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How can I handle exception message?

2011-12-05 Thread Willem Jiang
DEE"); exchange.getIn().setHeader("IB.messageName", "rmsPlstAssign"); } } Result : HATAA :null I NEED EXCEPTION MESSAGE... Please help me :( -- View this message in context: http://camel.465427.n5.nabble.com/How-can-I-handle-exception-m

Re: How can I handle exception message?

2011-12-05 Thread Claus Ibsen
ion { >                if (1==1) throw new Exception("BENDEE"); >                exchange.getIn().setHeader("IB.messageName", "rmsPlstAssign"); >        } > > } > > Result : HATAA :null > > I NEED EXCEPTION MESSAGE... Please help me :( > &g

Re: How can I handle exception message?

2011-12-05 Thread focaldi
e help me :( -- View this message in context: http://camel.465427.n5.nabble.com/How-can-I-handle-exception-message-tp5051151p5051266.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How can I handle exception message?

2011-12-05 Thread Willem Jiang
tem.out.println("Y :"+exchange.getIn().getHeader(Exchange.EXCEPTION_CAUGHT)); } } But all of them is null... I need to write Exception Message... How can I reach exception message in Dead Queue. Thanks... -- View this message in context: http://camel.465427.n5.nabble.com/How-can

Re: How can I handle exception message?

2011-12-05 Thread Claus Ibsen
tIn().getHeader(Exchange.EXCEPTION_CAUGHT)); > >        } > > } > > > But all of them is null... I need to write Exception Message... How can I > reach exception message in Dead Queue. Thanks... > > > -- > View this message in context: > http://camel.465427.n5.nab

How can I handle exception message?

2011-12-05 Thread focaldi
hange.getIn().isFault()); System.out.println("Y :"+exchange.getIn().getHeader(Exchange.EXCEPTION_CAUGHT)); } } But all of them is null... I need to write Exception Message... How can I reach exception message in Dead Queue. Thanks... -- View this m

Re: Cannot handle Exception thrown from Splitter Expression

2011-09-24 Thread Claus Ibsen
ext: > http://camel.465427.n5.nabble.com/Cannot-handle-Exception-thrown-from-Splitter-Expression-tp3286043p4833441.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com

Re: Cannot handle Exception thrown from Splitter Expression

2011-09-23 Thread scott sinclair
.nabble.com/Cannot-handle-Exception-thrown-from-Splitter-Expression-tp3286043p4833441.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Cannot handle Exception thrown from Splitter Expression

2011-02-16 Thread rmorris
? Rick Morris -- View this message in context: http://camel.465427.n5.nabble.com/Cannot-handle-Exception-thrown-from-Splitter-Expression-tp3286043p3388258.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Cannot handle Exception thrown from Splitter Expression

2011-02-11 Thread s_albrecht
this message in context: http://camel.465427.n5.nabble.com/Cannot-handle-Exception-thrown-from-Splitter-Expression-tp3286043p3380761.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Cannot handle Exception thrown from Splitter Expression

2011-02-10 Thread Jim Newsham
On 2/10/2011 9:41 AM, rmorris wrote: I think I've found a similar case when the exception occurs within a split().method() In this case, the exception is thrown inside the method() and doesn't make it to the onException() handler. Adding a .onException() into the direct://testsplitter route does

Re: Cannot handle Exception thrown from Splitter Expression

2011-02-10 Thread rmorris
difference. Is this indeed a bug? http://camel.465427.n5.nabble.com/file/n3379965/SplitterTest2.java SplitterTest2.java Rick Morris -- View this message in context: http://camel.465427.n5.nabble.com/Cannot-handle-Exception-thrown-from-Splitter-Expression-tp3286043p3379965.html Sent from th

Re: Cannot handle Exception thrown from Splitter Expression

2010-12-06 Thread Claus Ibsen
gt; -- > View this message in context: > http://camel.465427.n5.nabble.com/Cannot-handle-Exception-thrown-from-Splitter-Expression-tp3286043p3286043.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen - FuseSource Email: cib...@

Cannot handle Exception thrown from Splitter Expression

2010-11-30 Thread s_albrecht
/file/n3286043/SplitterTest.java SplitterTest.java -- View this message in context: http://camel.465427.n5.nabble.com/Cannot-handle-Exception-thrown-from-Splitter-Expression-tp3286043p3286043.html Sent from the Camel - Users mailing list archive at Nabble.com.