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 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

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 production

Re: Multiple property placeholders?

2014-11-18 Thread Gary Kennedy
Urgh, I'm stupid. 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 wrote: > I'm using Camel 2.14.0, with Karaf 3.0.1, and in the blueprint I have a > couple of property 'ba

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 cont

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: But now I've dropped the rest part, and using servlet endpoints to start the routes:

Re: Setting rest response json directly

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

Setting rest response json directly

2014-11-04 Thread Gary Kennedy
Greetings all, I'm using the camel rest dsl in a karaf osgi blueprint to define my route (and I love it, so easy), and I've got an onException block properly handling my (known) exceptions for an 'application/json' POST endpoint. I've set it to produce 'application/json' and when things go well