Hi Michael,

That is the syntax I used in both my 'routebuilder's in Camel.

The second I take out ":temp:", everything works. Producer can send to consumer. Put it back in; no messages.

Thanks!
Seth


On 3/10/10 11:13 AM, Michel Van Hoof wrote:

ownedthx wrote:
Hi all,

I'm trying to use temporary queues with an event-driven consumer (camel).
Is there something inherently wrong with trying this approach?
Basically, I never get messages back to my consumer, but if I use normal
queues everything is fine.

Any pointers?

Thanks!
Seth



Are you sure you configured the camel destination correctly ?


Using Temporary Destinations
As of Camel 1.4.0, you can access temporary queues using the following URL
format:

jms:temp:queue:foo

Or temporary topics using the following URL format:

jms:temp:topic:bar

This URL format enables multiple routes or processors or beans to refer to
the same temporary destination. For example, you can create three temporary
destinations and use them in routes as inputs or outputs by referring to
them by name.



Reply via email to