RE: Exception not thrown on connect failed in Dynamic Routes

2017-03-27 Thread Shivu195
Hi upgrading is not an option right now as a bunch of routes depend on this. 
Please suggest an alternative

From: Andrea Cosentino-2 [via Camel] 
[mailto:ml-node+s465427n579627...@n5.nabble.com]
Sent: Monday, March 27, 2017 2:49 PM
To: Shankar, Shivaranjini 
Subject: Re: Exception not thrown on connect failed in Dynamic Routes

Camel 2.10.1 is too old. Try with a new release.

--
Andrea Cosentino
--
Apache Camel PMC Member
Apache Karaf Committer
Apache Servicemix PMC Member
Email: [hidden email]
Twitter: @oscerd2
Github: oscerd


On Monday, March 27, 2017 11:16 AM, Shivu195 <[hidden 
email]> wrote:



We are facing the following issue. Whenever the camel route is unable to

connect to an endpoint(from a list of endpoints dynamically generated using

"@DynamicRouter"), it stops sftp-ing the files to all endpoints after the

failed endpoint and also it does not throw an error when the said endpoint

fails.


Is there a way to resolve this issue in this version itself, because an

exception doesn't seem to be thrown. (I have added the onException clause to

the camel route to handle any exception thrown)

*

Camel Version used: 2.10.1

JDK: 6*


This was a similar question raised on stack overflow.

http://stackoverflow.com/questions/40966290/apache-camel-dynamic-route-continue-when-exception-occurs





--

View this message in context: 
http://camel.465427.n5.nabble.com/Exception-not-thrown-on-connect-failed-in-Dynamic-Routes-tp5796268.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/Exception-not-thrown-on-connect-failed-in-Dynamic-Routes-tp5796268p5796270.html
To unsubscribe from Exception not thrown on connect failed in Dynamic Routes, 
click 
here.
NAML

This message may contain information that is confidential or privileged. If you 
are not the intended recipient, please advise the sender immediately and delete 
this message. See 
http://www.blackrock.com/corporate/en-us/compliance/email-disclaimers for 
further information.  Please refer to 
http://www.blackrock.com/corporate/en-us/compliance/privacy-policy for more 
information about BlackRock’s Privacy Policy.
For a list of BlackRock's office addresses worldwide, see 
http://www.blackrock.com/corporate/en-us/about-us/contacts-locations.

© 2017 BlackRock, Inc. All rights reserved.




--
View this message in context: 

Re: Exception not thrown on connect failed in Dynamic Routes

2017-03-27 Thread Tadayoshi Sato
Hi,

> Camel Version used: 2.10.1
> JDK: 6

It's actually quite old. Try the latest Camel 2.18.3 and JDK 8 and see the
issue is still persistent. Many bugs have been fixed since 2.10.1.

On Mon, Mar 27, 2017 at 6:01 PM, Shankar, Shivaranjini <
shivaranjini.shan...@blackrock.com> wrote:

> Hi team
>
> We are facing the following issue. Whenever the camel route is unable to
> connect to an endpoint(from a list of endpoints dynamically generated using
> "@DynamicRouter"), it stops sftp-ing the files to all endpoints after the
> failed endpoint and also it does not throw an error when the said endpoint
> fails.
> Is there a way to resolve this issue, because an exception doesn't seem to
> be thrown. (I have added the onException clause to the camel route to
> handle any exception thrown)
>
> Camel Version used: 2.10.1
>
> JDK: 6
>
>
>
> JiRA raised for this issue: https://issues.apache.org/
> jira/browse/CAMEL-11071
>
> Thiis was a similar question raised on stack overflow.
>
> http://stackoverflow.com/questions/40966290/apache-
> camel-dynamic-route-continue-when-exception-occurs
>
>
> Thanks and Regards
> Shivaranjini Shankar
> Analyst | BlackRock
> Phone: +91-124-678-0805 | Mobile: +91 92-05-184684
>
>
> This message may contain information that is confidential or privileged.
> If you are not the intended recipient, please advise the sender immediately
> and delete this message. See http://www.blackrock.com/
> corporate/en-us/compliance/email-disclaimers for further information.
> Please refer to http://www.blackrock.com/corporate/en-us/compliance/
> privacy-policy for more information about BlackRock’s Privacy Policy.
> For a list of BlackRock's office addresses worldwide, see
> http://www.blackrock.com/corporate/en-us/about-us/contacts-locations.
>
> © 2017 BlackRock, Inc. All rights reserved.
>


Re: Exception not thrown on connect failed in Dynamic Routes

2017-03-27 Thread Andrea Cosentino
Camel 2.10.1 is too old. Try with a new release.
 
--
Andrea Cosentino 
--
Apache Camel PMC Member
Apache Karaf Committer
Apache Servicemix PMC Member
Email: ancosen1...@yahoo.com
Twitter: @oscerd2
Github: oscerd


On Monday, March 27, 2017 11:16 AM, Shivu195 
 wrote:



We are facing the following issue. Whenever the camel route is unable to

connect to an endpoint(from a list of endpoints dynamically generated using

"@DynamicRouter"), it stops sftp-ing the files to all endpoints after the

failed endpoint and also it does not throw an error when the said endpoint

fails.


Is there a way to resolve this issue in this version itself, because an

exception doesn't seem to be thrown. (I have added the onException clause to

the camel route to handle any exception thrown)

*

Camel Version used: 2.10.1

JDK: 6*


This was a similar question raised on stack overflow.

http://stackoverflow.com/questions/40966290/apache-camel-dynamic-route-continue-when-exception-occurs





--

View this message in context: 
http://camel.465427.n5.nabble.com/Exception-not-thrown-on-connect-failed-in-Dynamic-Routes-tp5796268.html

Sent from the Camel - Users mailing list archive at Nabble.com.


Exception not thrown on connect failed in Dynamic Routes

2017-03-27 Thread Shivu195
We are facing the following issue. Whenever the camel route is unable to
connect to an endpoint(from a list of endpoints dynamically generated using
"@DynamicRouter"), it stops sftp-ing the files to all endpoints after the
failed endpoint and also it does not throw an error when the said endpoint
fails.

Is there a way to resolve this issue in this version itself, because an
exception doesn't seem to be thrown. (I have added the onException clause to
the camel route to handle any exception thrown)
*
Camel Version used: 2.10.1
JDK: 6*

This was a similar question raised on stack overflow.
http://stackoverflow.com/questions/40966290/apache-camel-dynamic-route-continue-when-exception-occurs




--
View this message in context: 
http://camel.465427.n5.nabble.com/Exception-not-thrown-on-connect-failed-in-Dynamic-Routes-tp5796268.html
Sent from the Camel - Users mailing list archive at Nabble.com.


RE: Exception not thrown on connect failed in Dynamic Routes

2017-03-27 Thread Shankar, Shivaranjini
Hi team

We are facing the following issue. Whenever the camel route is unable to 
connect to an endpoint(from a list of endpoints dynamically generated using 
"@DynamicRouter"), it stops sftp-ing the files to all endpoints after the 
failed endpoint and also it does not throw an error when the said endpoint 
fails.
Is there a way to resolve this issue, because an exception doesn't seem to be 
thrown. (I have added the onException clause to the camel route to handle any 
exception thrown)

Camel Version used: 2.10.1

JDK: 6



JiRA raised for this issue: https://issues.apache.org/jira/browse/CAMEL-11071

Thiis was a similar question raised on stack overflow.

http://stackoverflow.com/questions/40966290/apache-camel-dynamic-route-continue-when-exception-occurs


Thanks and Regards
Shivaranjini Shankar
Analyst | BlackRock
Phone: +91-124-678-0805 | Mobile: +91 92-05-184684


This message may contain information that is confidential or privileged. If you 
are not the intended recipient, please advise the sender immediately and delete 
this message. See 
http://www.blackrock.com/corporate/en-us/compliance/email-disclaimers for 
further information.  Please refer to 
http://www.blackrock.com/corporate/en-us/compliance/privacy-policy for more 
information about BlackRock’s Privacy Policy.
For a list of BlackRock's office addresses worldwide, see 
http://www.blackrock.com/corporate/en-us/about-us/contacts-locations.

© 2017 BlackRock, Inc. All rights reserved.