I've been experimenting using genericjmsra with Spring and Jenks JCA container
with TIB EMS but have stumbled across a problem (I believe) unrelated to Spring.
I'd like to use dynamic, named queues, without JNDI. Creating an
ActivationSpec
equivalent of
QueueSession.createQueue("my.queue.name");
To do this I've created an ActivationSpec with properties:
destinationType = javax.jms.Queue
destinationProperties = "QueueName=my.queue.name"
But from reading the genericjmsra source and the TIB EMS doc - I'm not
sure thats possible. The queue name property on TibjmsQueue implementation
isn't settable and the only way this would be possible is if the
constructor takes
the Queue name as an argument.
Are dynamic, named queues not supported (or for that matter temporary queues)?
Any help appreciated.
Andrew
javax.resource.ResourceException: Invalid destination
at com.sun.genericra.util.ExceptionUtils.newResourceException(ExceptionUtils.java:68)
at com.sun.genericra.inbound.EndpointConsumer._start(EndpointConsumer.java:153)
at com.sun.genericra.inbound.EndpointConsumer.start(EndpointConsumer.java:113)
at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:97)
--
Andrew Smallbone <andrew_at_rocketnumbernine.com>