Hi,

I seem to be running into a spot of trouble using ws-addressing &
JMSTransport.

The AddressingInHandler line 237 (v 1.2.4):

           if (isNoneAddress(factory, addr))
           {
               t = new DeadLetterTransport();
               outMessage = new OutMessage(addr);
               c = t.createChannel();
           }
           else
           {
               outMessage = new OutMessage(addr);
               t = context.getXFire
().getTransportManager().getTransportForUri(addr);
               c = t.createChannel();
           }

Is creating a new channel with no uri.

First problem here - this fails coz the newChannel() method on
AbstractTransport creates a unique uri with an empty prefix and uses this to
create a new JMSChannel. However initialize of this jms channel fails
because the uri does not contain the string "://"

Solution to this seems to be to override the getUriPrefix in JMSTransport -
however this creates another related problem - because the URI is unique,
this creates a new queue each time in the JMS provider (in my case
activemq).

Anyone have any solutions!?

Is this a bug?

Thanks,
Adrian

Reply via email to