activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: connection->start() or connection->createSession() hangs when trying to connect ActiveMQ-CPP client with OpenMQ broker via STOMP
Date Thu, 12 Aug 2010 21:00:15 GMT
On Thu, 2010-08-12 at 13:53 -0700, cppdeveloper wrote:
> How can I find which Frame is returned? Is this in a log somewhere? All I see
> on the screen of the OpenMQ broker is: 
> 
> INFO: Create JMS connection for user admin with client id
> ID:csa-nexus-54731-1281646773388-1:0
> Aug 12, 2010 12:59:33 PM 
> INFO: Started JMS connection
> 4439188484301059840[ID:csa-nexus-54731-1281646773388-1:0] for user admin
> 
> Since I sent the "admin" user/password, I know it received a request to
> connect and actually started the connection. How do I find the specific
> Frame, though? Thanks for your help. I am new to the JMS messaging
> community. 
> 

You can append this option to the connection URI to get the Commands
that are sent and received logged to the console:

transport.commandTracingEnabled=true

I Don't know how to configure that on the OpenMQ side.

Regards


> 
> 
> Timothy Bish wrote:
> > 
> > On Thu, 2010-08-12 at 09:35 -0700, cppdeveloper wrote:
> >> I am trying to connect an ActiveMQ-CPP client with an Oracle OpenMQ
> >> broker
> >> via STOMP. Both manufacturers claim this will work, and I have been able
> >> to
> >> get an ActiveMQ-CPP client to connect to an ActiveMQ broker via STOMP, an
> >> OpenMQ client with an OpenMQ broker via STOMP, and an OpenMQ client with
> >> an
> >> ActiveMQ broker via STOMP without problems, but the only one missing is
> >> what
> >> I need- ActiveMQ-CPP client to connect with OpenMQ broker. 
> >> 
> >> I am using Fedora Linux and am using the provided "example" script for
> >> ActiveMQ-CPP, changing the brokerURL to be
> >> "tcp://localhost:61613?wireFormat=stomp" instead, where the OpenMQ STOMP
> >> bridge is located at localhost:61613.
> >> 
> >> On the OpenMQ end, I receive the request to connect by the client and I
> >> start a connection:
> >> 
> >> INFO: Create JMS connection for user admin with client id
> >> ID:csa-nexus-57767-1281630228652-1:0
> >> Aug 12, 2010 8:23:48 AM 
> >> INFO: Started JMS connection
> >> 8950669406784000768[ID:csa-nexus-57767-1281630228652-1:0] for user admin
> >> 
> > 
> > What is the Frame returned from the OpenMQ broker once it receives the
> > CONNECT frame?
> > 
> >> This is where the ActiveMQ-CPP client hangs at "connection->start", or if
> >> this is removed, "connection->createSession". 
> >> 
> >> Any help would be appreciated. Thanks! 
> > 
> > Regards
> > 
> > -- 
> > Tim Bish
> > 
> > Open Source Integration: http://fusesource.com
> > ActiveMQ in Action: http://www.manning.com/snyder/
> > 
> > Follow me on Twitter: http://twitter.com/tabish121
> > My Blog: http://timbish.blogspot.com/
> > 
> > 
> > 
> 

-- 
Tim Bish

Open Source Integration: http://fusesource.com
ActiveMQ in Action: http://www.manning.com/snyder/

Follow me on Twitter: http://twitter.com/tabish121
My Blog: http://timbish.blogspot.com/


Mime
View raw message