Hi Ron,

I don't get what you mean by non-ActiveMQ dynamic queue? Do you mean standard JMS queue (not the dynamic one) If that's the case CXF JMS transport do not try to create the JMS queue on the broker if it doesn't exists.(unless you use dynamicQueues on ActiveMQ)

By all means it can be done with the enhancement but the main problem I see is some of the Message Broker requires additional privileges to create queues some may need you to use their own interface to create queue by admin privileges (I don't know about many JMS brokers but it may be the case in some products).

Regards,

Ulhas Bhole

rgavlin wrote:
I have a CXF Service w/JMS transport that I want to listen on a non-ActiveMQ
dynamic queue. When a jndiDestinationName lookup is performed on an ActiveMQ
dynamic queue, ActiveMQ creates the dynamic queue and returns it. Most other
JMS providers do not seem to behave this way. Rather, when a
jndiDestinationName lookup is performed on the non-ActiveMQ Dynamic Queue, a
JNDI lookup error is returned rather than the dynamic queue being created.

servicemix-jms provides a property named "jmsProviderDestinationName" (as
opposed to jndiDestinationName) which causes the target JMS destination to
be created by the JMS provider by calling Session.createQueue. Does CXF
offer a comparable property to get around this jndiDestinationName lookup
problem? If not, is this something CXF would consider supporting? If so, I
will open a JIRA to request the feature?

See
http://www.nabble.com/smx-cxf-bc-consumer-w-jms-transport-and-non-jndiDestinationName-td18475778.html
for additional discussion on this topic.

Thanks,

- Ron

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland

Reply via email to