activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: ActiveMQ (JMS API) hangs when trying to start connection over Stomp
Date Fri, 06 Aug 2010 17:06:06 GMT

JMS and Stomp APIs are two different things and you cannot use stomp
transport over JMS API. If you want to use Stomp from Java (but I'd
always recommend JMS API), you can you this

Dejan Bosanac -

Open Source Integration -
ActiveMQ in Action -
Blog -

On Fri, Aug 6, 2010 at 6:24 PM, sjavadeveloper
<> wrote:
> Hi, in my java app I am trying to start a connection produced by an
> ActiveMQConnectionFactory.
> start() works fine when using  tcp://localhost:61616  as my broker URL,
> but when I change it to  stomp://localhost:61613, the call to
> Connection.start() never returns.
> The ActiveMQ log says that it is listening for connections on the stomp URL,
> so I assume that the problem must be in my java application.
> Currently, the only property I set on my ActiveMQConnectionFactory is
> brokerURL.
> Is there some extra configuration I need to add to it?
> Thanks
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message