You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2011/03/01 06:21:38 UTC

Re: camel:recipientList with ignoreInvalidEndpoints="true"

Hi

No that's not possible.

I have created a ticket
https://issues.apache.org/jira/browse/CAMEL-3731

And lowered the logging from INFO to DEBUG.


On Mon, Feb 28, 2011 at 11:18 PM, JacobS <ja...@gmail.com> wrote:
> Hi I am using camel:recipientList with ignoreInvalidEndpoints="true"
>
> <camel:recipientList delimiter=","
>        ignoreInvalidEndpoints="true" stopOnException="false">
>        <camel:header>HEADERNAME</camel:header>
> </camel:recipientList>
>
> but I am getting NoSuchEndpointException exception with "This exception will
> be ignored".
> Is there any way that I can disable this exception from showing in my log ?
>
> Thanks
> Jacob
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-recipientList-with-ignoreInvalidEndpoints-true-tp3404103p3404103.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Re: camel:recipientList with ignoreInvalidEndpoints="true"

Posted by Claus Ibsen <cl...@gmail.com>.
Just raise the INFO -> WARN logging on that particular class.


On Tue, Mar 1, 2011 at 9:07 AM, JacobS <ja...@gmail.com> wrote:
> Is there a way to ignore the exception using the onException tag ?
> If it is possible can you tell me the correct xml syntax ?
> This is my route:
>
> <camel:route id="RouteName">
>        <camel:from uri="direct:RouteName" />
>        <camel:recipientList delimiter=","      ignoreInvalidEndpoints="true"
> stopOnException="false">
>                <camel:header>HEADERNAME</camel:header>
>        </camel:recipientList>
> </camel:route>
>
> Thanks,
> Jacob
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-recipientList-with-ignoreInvalidEndpoints-true-tp3404103p3404535.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Re: camel:recipientList with ignoreInvalidEndpoints="true"

Posted by JacobS <ja...@gmail.com>.
Is there a way to ignore the exception using the onException tag ?
If it is possible can you tell me the correct xml syntax ?
This is my route:

<camel:route id="RouteName">
	<camel:from uri="direct:RouteName" />
	<camel:recipientList delimiter=","	ignoreInvalidEndpoints="true"
stopOnException="false">
		<camel:header>HEADERNAME</camel:header>
	</camel:recipientList>
</camel:route>

Thanks,
Jacob

-- 
View this message in context: http://camel.465427.n5.nabble.com/camel-recipientList-with-ignoreInvalidEndpoints-true-tp3404103p3404535.html
Sent from the Camel - Users mailing list archive at Nabble.com.