Sending payload from http to jms...Camel.

2014-04-25 Thread npa
I am trying to have a camel route, which would accept a payload on a http endpoint and then write that payload to a JMS queue. The route that I have so far is below. But an empty message gets delivered to the jms queue. A message gets there, but it has no body. Heres the route: http

Re: AW: Splitting list of elements in a message body..

2014-04-24 Thread npa
Yes..there is a comma... The message that would be returned from a processor Call in the route would be like this: [http://www.openapplications.org/oagis/9"; xmlns:lw="http://www.org/oagis/9";> Cat1 , http://www.openapplications.org/oagis/9"; xmlns:lw="http://www.org/oagis/9";> Dog1 ] -

Splitting list of elements in a message body..

2014-04-24 Thread npa
Iam trying to write a camel route which would send different elements of a list to different queues. The message body would be a list with 2 xml's. For example: Cat1 , Dog1 Now, I need to send the 'Cat' part of the message i.e. Cat1 part to queue1 and the 'Dog' part of

Camel XPath....Parsing a part of message Body...

2014-04-04 Thread npa
I have a simple flow that reads from an activemq1 and parses an id from the message and sends the id across to another activemq2. Here is an example of message that gets written to activemq1: 123 I need to parse out the id from the above message body and send the below message to ac

Re: Camel Succesful delivery acknowledgements..

2014-04-04 Thread npa
Hello, I remember reading somewhere that XA transactions are slow, overkill and not reliable. Do you think a regular transaction would do the job for me here. A single transaction which would cover the 2 "to" uri's. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Succ

Re: Camel Succesful delivery acknowledgements..

2014-04-04 Thread npa
Does Camel have any indicators that the message has been succesfully delivered to the consumer. As a producer, how do I know that message has been delivered, so that I can issue out succesful acknowledgements. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Succesful-de

Camel Succesful delivery acknowledgements..

2014-04-04 Thread npa
I have been trying to come up with a camel route that would read from an activemq and write to Oracle AQ. However, when a message is written to Oracle-aq(all I care is succesfull delivery of the msg to Oracle aq), I have to write a successful message to another Active mq queue("something like mess

Sending a string response from a route...

2014-03-23 Thread npa
Is it possible to send a response out from a route flow. For Example, in this below route, I would always like to send out a string response say, "hi" whenever the request comes from the uri mentioned.. http://0.0.0.0:/camelServlet/abc?"; /> if possible, how do I do it? -- View this m

CAMEL: Adding Properties to a message in Spring DSL

2014-03-21 Thread npa
I have a simple route in camel, which reads messages from an activemq queue 'A' and writes it to another activemq queue 'B'.I was able to get this to this part to work. But I need to add a new property to the message before writing it to 'B'. I have tried to add the property 'prop1' to the message