Obtain current route from custom component

2014-01-30 Thread RobO
Hi, I have a custom camel component I've written which connects to another server. I'd like to be able to suspend the route which called this component if the connection attempt fails. How can I obtain the currently executing routeid from the component so that I can suspend the route? I am

Re: Move file when message received

2012-07-16 Thread RobO
I was hoping I could accomplish this without a bean but thanks for your response. I will use the bean. -- View this message in context: http://camel.465427.n5.nabble.com/Move-file-when-message-received-tp5715968p5716084.html Sent from the Camel - Users mailing list archive at Nabble.com.

Move file when message received

2012-07-12 Thread RobO
Hi. I have the name of a file I want to move contained in the message header of a JMS message. I'd like to get the file name from the message header and move that file to another directory. I have successfully written this route using a bean however I've been thinking if it would be possible with