Hi, 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 http://activemq.apache.org/stomp.html#Stomp-JavaAPI
Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Fri, Aug 6, 2010 at 6:24 PM, sjavadeveloper <[email protected]> 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: > http://old.nabble.com/ActiveMQ-%28JMS-API%29-hangs-when-trying-to-start-connection-over-Stomp-tp29356464p29356464.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > >
