You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2010/09/14 17:33:43 UTC

[jira] Resolved: (AMQCPP-317) activemq-cpp 3.2.2 will not work with activemq 5.4.0 broker using Stomp

     [ https://issues.apache.org/activemq/browse/AMQCPP-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQCPP-317.
---------------------------------

    Fix Version/s: 3.2.4
                   3.3.0
       Resolution: Fixed

Fixed in trunk and 3.2.x fixes.

> activemq-cpp 3.2.2  will not work with activemq 5.4.0 broker using Stomp
> ------------------------------------------------------------------------
>
>                 Key: AMQCPP-317
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-317
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: Windows 7, all compiled with Visual Studio 2008
>            Reporter: Scott Watson
>            Assignee: Timothy Bish
>             Fix For: 3.2.4, 3.3.0
>
>
> I deployed activemq server on Windows 7 with JDK 1.6.0_20 and executed it using the command:
> bin\activemq xbean:activemq-stomp.xml
> The server started up with no problems and reported stomp+nio listening at port 61612 and stomp listening at port 61613.
> I also built the activemq-cpp solution using Visual C++ 2008 on Windows 7 and using the Debug configuration with the
> Multithreaded Debug runtime for all libraries and the executable.
> I only changed line 387 in the file main.cpp, from:
> "failover:(tcp://localhost:61616"
> to
> "tcp://127.0.0.1:61613?wireFormat=stomp"
> (note: also tried it with port 61612 with same results)
> Executed activemq-cpp-example project and the Producer connected properly and sent its messages.  I could
> see the messages enqueued in the http web console.  The Consumer, however, did connect (could see 1
> consumer listed under the "Queues" section of the http web console) but did not dequeue any messages,
> nor did it report receiving any in its command prompt window.
> I put a breakpoint in the OnMessage method and saw that it was never being called.
> I then changed the code to use OpenWire by changing the above line to:
> "tcp://127.0.0.1:61616"
> I then executed activemq using the command:
> bin\activemq xbean:activemq-demo.xml
> and then executed the activemq-cpp-example project.  It functioned perfectly with both consumer
> and producer reporting success.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.