You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2010/10/07 17:13:59 UTC
JMS broker port number
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";
}
Re: JMS broker port number
Posted by Daniel Kulp <dk...@apache.org>.
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
dkulp@apache.org
http://dankulp.com/blog