From the test suite:

jms:jndi:dynamicQueues/testqueue0001?
    
jndiInitialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContextFactory
   &jndiConnectionFactoryName=ConnectionFactory
   &jndiURL=tcp://localhost:61500

I'm not entirely sure that will help you, but it may be a start.

Dan



On Thursday 07 October 2010 11:13:59 am Benson Margulies wrote:
>  If I wanted to cope with ActiveMQ running on a non-default port,
> where do I put the port in this? Is there some better way involving
> JNDI of managing all of this?
> 
>  public static String cxfJmsUrl(String taskId) {
>         return "jms:queue:com.basistech.jug." + taskId + "?timeToLive=1000"
>                + "&jndiConnectionFactoryName=ConnectionFactory"
>                +
> "&jndiInitialContextFactory=org.apache.activemq.jndi.ActiveMQInitialContext
> Factory"; }

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to