.n5.nabble.com/Endpoint-exception-handling-tp5504378p5751466.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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
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.
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
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
&
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
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
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
>
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
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.
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
&
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.
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
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
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
15 matches
Mail list logo