Re: Steps to replace a direct call by a JMS proxy?

2013-05-14 Thread Al Ferguson
Got it, thanks -- View this message in context: http://camel.465427.n5.nabble.com/Steps-to-replace-a-direct-call-by-a-JMS-proxy-tp5732430p5732516.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Steps to replace a direct call by a JMS proxy?

2013-05-14 Thread Al Ferguson
Thank you. As a first step, I would like to get it working using a template. When done, Maybe I'll separate the logic in a separate bean. But... How to make throttling with using a producertemplate? Is is possible? Thanks, Al. F -- View this message in context: http://camel.465427.n5.nabble.

Steps to replace a direct call by a JMS proxy?

2013-05-13 Thread Al Ferguson
Hi, I currently have a Java application that sends directly messages to a queue using a Spring JmsTemplate: I would like to take advantage of the facilities of Camel Throttling but I do not see how to define my route. Could someone help me and tell me what I have to do? Regards, Al. F -- View

Appending/Not Appending paths

2013-05-09 Thread Al Ferguson
Hi, If I send a request to "myservices/path1/path2", how do I control whether or not the "path1/path2" is appended? Thanks, Al. F -- View this message in context: http://camel.465427.n5.nabble.com/Appending-Not-Appending-paths-tp5732231.html Sent from the Camel - Users mailing list archive

Re: How to replace hard coded URIs?

2013-05-07 Thread Al Ferguson
Thanks a lot Jon, it works now. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-replace-hard-coded-URIs-tp5732083p5732126.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to replace hard coded URIs?

2013-05-07 Thread Al Ferguson
Yes I see, thanks for the proposal. However the properties are immutables, right? For steps 1 and 3, I'll use a Header and a RecipientList. But it seems I cannot use a RecipientList for the second step, the *enricher*. Any possibilities anyone? Claus? Thanks, Al. F -- View this message in c

How to replace hard coded URIs?

2013-05-06 Thread Al Ferguson
Hi, I defined the following route that works very well. However, I have to read the URIs of the 3 services from ZooKeeper nodes. How to replace the 3 hard coded URIs in the initial route by value nodes read from Zookeeper? Thanks -- View this message in context: http://camel.465427.n5.nabbl

Re: CamelHttpUri and Enricher

2013-05-03 Thread Al Ferguson
Hi, It seems I cannot enrich, what am I doing wrong? Why is the originalExchange is null? Thanks, Al. F -- View this message in context: http://camel.465427.n5.nabble.com/CamelHttpUri-and-Enricher-tp5731924p5731975.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CamelHttpUri and Enricher

2013-05-03 Thread Al Ferguson
Works perfectly! Thanks -- View this message in context: http://camel.465427.n5.nabble.com/CamelHttpUri-and-Enricher-tp5731924p5731966.html Sent from the Camel - Users mailing list archive at Nabble.com.

CamelHttpUri and Enricher

2013-05-02 Thread Al Ferguson
Hi, Is it possible to override the address of an enricher? I've tried the following but it does not work. The Enricher still calls the address of its own uri parameter, and not the one from the CamelHttpUri header. Thanks, Al. F -- View this message in context: http://camel.465427.n5.nab

Re: Using zookeeper returned node value as uri

2013-04-30 Thread Al Ferguson
Thanks Arswin. If I understand correcty, your second approach would be something like the following: Is it ok? As for your first approach, I'm not sure I understand. May I ask you to provide more details? Thanks, Al. F -- View this message in context: http://camel.465427.n

Using zookeeper returned node value as uri

2013-04-30 Thread Al Ferguson
Hi, I would like to pick up the uri of a service in zookeeper but I cannot find how to do it. I am able to read the uri of the service using this: I would like to use the value of the node (that is, the url of the service) within the following route: How to combine the two? Thanks, Al. F

Re: Expected behavior of two consecutive convertBodyTo?

2013-04-26 Thread Al Ferguson
TypeConverter file! You got it, thanks -- View this message in context: http://camel.465427.n5.nabble.com/Expected-behavior-of-two-consecutive-convertBodyTo-tp5731543p5731623.html Sent from the Camel - Users mailing list archive at Nabble.com.

Expected behavior of two consecutive convertBodyTo?

2013-04-25 Thread Al Ferguson
Hi, I get an Address in a format (MyAddress, jaxb annotated) and I want to convert this address in another format (ExternalAddress, jaxb annotated) before invoking an Web service. Curiously the second conversion (MyAddress to ExternalAddress, for which I wrote a Converter) does not work. In fac