Re: Temporary queues, or, jms uri from camel uri?

2014-11-25 Thread Gary Kennedy
I'll take it that the answer is Not possible. Cheers, Gary On 19 Nov 2014, at 3:42 pm, Gary Kennedy g...@apnic.net wrote: So I want to talk to a system that will send back several reply messages for a given command message. The general idea is to have a specific route that will process

Multiple property placeholders?

2014-11-18 Thread Gary Kennedy
I'm using Camel 2.14.0, with Karaf 3.0.1, and in the blueprint I have a couple of property 'bags'. One is the usual configuration admin property placeholder, the other is a custom property bag, which gets it's values from runtime scanning. How can I use both property sets in the same camel

Re: Multiple property placeholders?

2014-11-18 Thread Gary Kennedy
Urgh, I'm stupid. propertyPlaceholder location=bag1,bag2/ And I don't even have to explicitly state the configuration admin properties. Cheers, Gary On 19 Nov 2014, at 11:29 am, Gary Kennedy g...@apnic.net wrote: I'm using Camel 2.14.0, with Karaf 3.0.1, and in the blueprint I have

Temporary queues, or, jms uri from camel uri?

2014-11-18 Thread Gary Kennedy
So I want to talk to a system that will send back several reply messages for a given command message. The general idea is to have a specific route that will process the reply messages. (maybe behind an aggregator/resequencer, maybe not) Since the plan is to (eventually) use this in a

Re: Setting rest response json directly

2014-11-09 Thread Gary Kennedy
I changed the way I used the servlet/rest component and it works for me now. I'm still using the same bean setup as before: reference id=httpService interface=org.osgi.service.http.HttpService/ bean id=camelServlet class=...CamelHttpTransportServlet/ bean id=registration

Re: Setting rest response json directly

2014-11-05 Thread Gary Kennedy
I'm using blueprint, but yes, it does not work. cml:setBody cml:simple{ exception: ${exception.message} }/cml:simple /cml:setBody Produces response content of: { \error\: \${exception.message}\ } Instead of: { error: ${exception.message} } I'm using the servlet/rest