RE: Need help

2014-08-15 Thread Ravindra.Godbole
It looks like your main process is terminating after consuming the message. If you are using spring dsl, here is how you can keep it running for ever. Main referred here is org.apache.camel.spring.Main. Refer here for more detailed explanation. http://camel.apache.org/running-camel-standalone-a

Camel-Saxon 2.12 feature

2014-08-15 Thread nareshkpotti
Hi, I am using Fuse 6.1 and camel 2.12 version for my project and facing following problem. I am trying to pass java.util.HashMap to my xslt and accessing map to retrieve bunch of values in my XSLT. For this i am constructing a map and placing it the in header in a bean and accessing it XSLT. I

Need help

2014-08-15 Thread Radhakrishna Kalyan
Hi I am very new to camel. I have a very basic question. I have a standalone application, and I want to download a message from a jms queue and email it to some address. This should happen when ever someone sends a message to that queue. I tried but the application is getting terminated after sen

Re: Support for MQTT authentication

2014-08-15 Thread teixi
I didn't pay attention to this: public class MQTTConfiguration extends org.fusesource.mqtt.client.MQTT So one can easily implement MQTT auth in a Camel route like: Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Support-for-MQTT-authentication-tp5755099p5755274

Incorrect behavior of onCompletion for exception and stop

2014-08-15 Thread jorabin
(Amplification of a less specific post ) a) following exception the onCompletion route runs but stops after the first processor (seemingly because the property CamelErrorHandlerHandled is in

Re: how to put jaxrs:server as endpoint in route from?

2014-08-15 Thread Sergey Beryozkin
On 15/08/14 13:09, nono wrote: Could you please a little bite elaborate how to do this? *and a route redirecting from a Camel Servlet redirecting to "camel:/rest". * xmlns="http://camel.apache.org/schema/spring"; trace="true">

Re: how to put jaxrs:server as endpoint in route from?

2014-08-15 Thread nono
Could you please a little bite elaborate how to do this? *and a route redirecting from a Camel Servlet redirecting to "camel:/rest". * -- View this message in context: http://camel.465427.n5.nabble.com/how-to-put-jaxrs-server-as-endpoint-in-route-from-tp5755249p5755267.html Sent from the C

Re: how to put jaxrs:server as endpoint in route from?

2014-08-15 Thread nono
Hi Claus, I followed you suggestion, but seems i did not get reply , below is my route and RestPRocessor public class RESTResourceProcessor implements Processor { private static final Logger log = LoggerFactory.getLogger(RESTResourceProcessor.class);

Re: File Consumer Endpoint - File Name Header

2014-08-15 Thread contactreji
Thanks Clause :-) I got the fileName in header called "CamelFileNameOnly" Cheers Reji -- View this message in context: http://camel.465427.n5.nabble.com/File-Consumer-Endpoint-File-Name-Header-tp5755253p5755265.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: how to put jaxrs:server as endpoint in route from?

2014-08-15 Thread Claus Ibsen
Hi You can just do On Fri, Aug 15, 2014 at 9:52 AM, nono wrote: > Hey All, > > I have below jaxrs:server define like below. how to put it as endpoint into > route? > below is the code example, but it doest not work for me > > https://0.0.0.0:9089/rest";> > > >

Re: how to put jaxrs:server as endpoint in route from?

2014-08-15 Thread Sergey Beryozkin
On 15/08/14 10:44, Sergey Beryozkin wrote: Hi You if prefer to have a regular CXF jaxrs:endpoint reused directly then Sigh, confused the order of "You" and "if" in a hurry :-) use a Camel transport, you'd have and a route redirecting from a Camel Servlet redirecting to "camel:/rest". The

Re: how to put jaxrs:server as endpoint in route from?

2014-08-15 Thread Sergey Beryozkin
Hi You if prefer to have a regular CXF jaxrs:endpoint reused directly then use a Camel transport, you'd have and a route redirecting from a Camel Servlet redirecting to "camel:/rest". The use of jaxrs:server in Camel routes is limited to accepting and returning a response, unless you are

Re: File Consumer Endpoint - File Name Header

2014-08-15 Thread Claus Ibsen
Hi See this page http://camel.apache.org/file2 On Fri, Aug 15, 2014 at 11:16 AM, contactreji wrote: > Hi Folks > > Am reading a file using File Consumer Endpoint as follows. Can someone help > me with the *name of the Header to which the name of the file picked in > mapped*? > > I want the *cons

File Consumer Endpoint - File Name Header

2014-08-15 Thread contactreji
Hi Folks Am reading a file using File Consumer Endpoint as follows. Can someone help me with the *name of the Header to which the name of the file picked in mapped*? I want the *consumed fileName* to be copied to a header called MessageID. Following doesn't work. It stores null

Re: RecepientList - Individual Target status

2014-08-15 Thread contactreji
Hi Claus That was amazing. Thanks a lot. It was populated in the exchange header called *CamelFailureEndpoint*. It was mapped to the constant you mentioned in ur reply "FAILURE_ENDPOINT" Cheers Reji -- View this message in context: http://camel.465427.n5.nabble.com/RecepientList-Individual-T

how to put jaxrs:server as endpoint in route from?

2014-08-15 Thread nono
Hey All, I have below jaxrs:server define like below. how to put it as endpoint into route? below is the code example, but it doest not work for me https://0.0.0.0:9089/rest";> -- View this message in conte