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.ActiveMQInitialContextFactory";
}
