Re: Endpoint exception handling

2014-05-22 Thread rams
.n5.nabble.com/Endpoint-exception-handling-tp5504378p5751466.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Endpoint exception handling

2012-02-26 Thread Claus Ibsen
e SimpleRegistry with CamelContext and add it to this strategy from java code. Then in the endpoint uri, you just refer to the id of your custom poll strategy using #id file:foo?pollStrategy=#myPollStrategy If you use Spring XML then > Thank you > > Best Regards Tuomas

Re: Endpoint exception handling

2012-02-24 Thread tkatva
uomas Katva -- View this message in context: http://camel.465427.n5.nabble.com/Endpoint-exception-handling-tp5504378p5513828.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Endpoint exception handling

2012-02-22 Thread Alex Anderson
t;>> mis-configuration. >>>>> >>>>> You cannot use the onException / dead letter channel for that. As its >>>>> like chicken-egg. You need a valid message in the Camel routing >>>>> engine, before onException / dead letter channel can b

Re: Endpoint exception handling

2012-02-22 Thread Claus Ibsen
gt;>>> like chicken-egg. You need a valid message in the Camel routing >>>> engine, before onException / dead letter channel can be used. >>>> >>>> >>>> >>>> On Wed, Feb 22, 2012 at 8:28 AM, tkatva wrote: >>>>> Hello &

Re: Endpoint exception handling

2012-02-22 Thread Alex Anderson
uting >>> engine, before onException / dead letter channel can be used. >>> >>> >>> >>> On Wed, Feb 22, 2012 at 8:28 AM, tkatva wrote: >>>> Hello >>>> >>>> Camel is great but one thing I am wondering is that is there a

Re: Endpoint exception handling

2012-02-22 Thread Claus Ibsen
gt; Camel is great but one thing I am wondering is that is there a way to catch >>> a Endpoint exception ? For example if I am polling on a directory and the >>> url is spelled wrong, can I catch that exception programmatically ? Or do >>> just need to check the log for

Re: Endpoint exception handling

2012-02-22 Thread Alex Anderson
ogrammatically ? Or do >> just need to check the log for it ? >> >> Thank you >> >> Best Regards Tuomas Katva >> >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/Endpoint-exception-handling-tp5504378p5504378.html >

Re: Endpoint exception handling

2012-02-21 Thread Claus Ibsen
on occurs in consuming endpoint ? In for example > FTP/FTPS/SFTP/FILE endpoints ? I would like to run my custom code whenever > exception occurs in consuming endpoints > > Thank you > > Best Regards Tuomas Katva > > -- > View this message in context: > http://ca

Re: Endpoint exception handling

2012-02-21 Thread tkatva
endpoints Thank you Best Regards Tuomas Katva -- View this message in context: http://camel.465427.n5.nabble.com/Endpoint-exception-handling-tp5504378p5504428.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Endpoint exception handling

2012-02-21 Thread Claus Ibsen
d wrong, can I catch that exception programmatically ? Or do > just need to check the log for it ? > > Thank you > > Best Regards Tuomas Katva > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Endpoint-exception-handling-tp5504378p5504378.html &

Endpoint exception handling

2012-02-21 Thread tkatva
Tuomas Katva -- View this message in context: http://camel.465427.n5.nabble.com/Endpoint-exception-handling-tp5504378p5504378.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: CXF + Camel + JMS Endpoint exception handling

2011-06-14 Thread Sven Zethelius
Zethelius; users@camel.apache.org Subject: Re: CXF + Camel + JMS Endpoint exception handling Current Camel transport for CXF just provides a transport tunnel for use to use. It can't handle the exception that comes from the service implementation. If you want the camel to handle the applicat

Re: CXF + Camel + JMS Endpoint exception handling

2011-06-08 Thread Willem Jiang
Current Camel transport for CXF just provides a transport tunnel for use to use. It can't handle the exception that comes from the service implementation. If you want the camel to handle the application exception, you may consider to use camel CXFBean[1] components. BTW you had to marshal the

CXF + Camel + JMS Endpoint exception handling

2011-06-08 Thread Sven Zethelius
I've started playing with CXF + Camel + JMS, and have set up a sample client and service that can put and get messages from a JMS Queue. I've started going deeper to understand the transaction and retry logic since one of the use cases I have is to use either the JMS or Camel retry logic to rep