[jira] Created: (AMQCPP-64) Inconsistency in topic names when creating topics
Inconsistency in topic names when creating topics - Key: AMQCPP-64 URL: https://issues.apache.org/activemq/browse/AMQCPP-64 Project: ActiveMQ C++ Client Issue Type: Bug Components: CMS Impl, Stomp Affects Versions: 1.0 Environment: win / lin Reporter: Lalit Nagpal Assigned To: Nathan Mittler Fix For: 1.0 Attachments: DestinationProblem.JPG, DestProbs.cpp Hi I am using the activemq-cpp cms api 1.0 release. The problem I am facing is like this- My producer sends a message to the consumer and a message should be sent from the receiving end as a reply after this - consider a situation where a loginRequest message has been sent and now a loginReply message should be sent from the receiving end. Attached is a sample main that can reproduce the problem I am facing - I have modified the sample helloproducer helloconsumer code available at http://activemq.org/site/activemq-cpp-client.html to reproduce my problem so that its easier for you to see. Please see attached cpp file = DestProbs.cpp. If you execute this piece of code you will see the output as in the attached image file (see attachments = DestinationProblem.JPG) This is what the code does producer lets call it xxx sends a "Hello world! from thread " to the consumer consumer lets call it yyy receives the message and displays it this is the normal behavior as given in the example on http://activemq.org/site/activemq-cpp-client.html Following extra needs to be done now from yyy a reply should go back to xxx ... for this i registered a producer at yyy by creating a topic using the message->getCMSReplyTo() and then replying back to that destination. The mismatch can be easily see by doing a bstat when I created the consumer yyy initially it created a topic by name say ABCDEFGH (which is a random id) and later on when I used the message->getCMSReplyTo() to create a topic the topic was registered with the name /topic/ABCDEFGH . the additional /topic/ that has got added is doing a mess up here and the replies from yyy to xxx are not reaching xxx (getting enqueued and not dequeued) ... the /topic/ gets added due to the following statement in HelloWorldProducer - run method message->setCMSReplyTo(replyTopic->toProviderString()); here the toProviderString method adds it actually ... if you replace this method with just the toString() method ... you will get a stomp exception saying that destinations should start with either /topic/ or /queue/ Can somebody make this code work please. For every message sent by the producer to consumer "Hello world! from thread " there should be a reply coming back as "Thank you for Hello World !!!" Please help me urgently here. Thank you in advance Lalit Nagpal CSA, SunGard -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
ActiveMQ-cpp, Stomp, Openwire - need guidance here - newbie newbie
Hi ... We need a MOM that provides C++ API support (ActiveMQ does this ... but i am a bit confused on ActiveMQ-cpp, stomp and openwire). I am running into questions like why openwire would replace stomp, activemq-cpp says it is swappable for both protocols. What we intend to do in our application is we would be building a C++ layer to talk to ActiveMQ and then we would be generating code on the C++ layer for different languages (Java, Python, .Net etc) using Swig. Ours is a service bus created mainly for the reasons of performance, integration etc. Can somebody guide me on how i should proceed on these areas. I am a complete newbie to ActiveMQ and want to run some samples to get a feel of how ActiveMQ works (consider C++) only. Please guide me on how to proceed. Thanks in advance Lalit Nagpal -- View this message in context: http://www.nabble.com/ActiveMQ-cpp%2C-Stomp%2C-Openwire---need-guidance-here---newbie-newbie-tf1990634.html#a5462797 Sent from the ActiveMQ - Dev forum at Nabble.com.
Stomp and Openwire
Q1. Can anybody please tell me key differences between Stomp and Openwire. Which one i should go for if i need to write a C++ Layer to talk to ActiveMQ. Drawbacks and Advantages can help me a lot. Q2. What is the current state of Openwire. When will this be available to be used. -- View this message in context: http://www.nabble.com/Stomp-and-Openwire-tf1972691.html#a5414682 Sent from the ActiveMQ - Dev forum at Nabble.com.
newbie newbie
Hi, I am a absolute new starter in the field of MOM although I worked on MQ Series sometime back. But totally new to ActiveMQ ... need to pick up on ActiveMQ. Can somebody guide me as to how to get started on this. Specially areas of C++ like Stomp, Openwire and stuff. Thanks in advance. -- View this message in context: http://www.nabble.com/newbie-newbie-tf1888179.html#a5162385 Sent from the ActiveMQ - Dev forum at Nabble.com.
C++ Code to talk to ActiveMQ
Hi, I would be building a C++ layer that would talk to ActiveMQ. Can anybody guide me as to where I can get some sample C++ code with ActiveMQ. Regards Lalit Nagpal -- View this message in context: http://www.nabble.com/C%2B%2B-Code-to-talk-to-ActiveMQ-tf1853331.html#a5060078 Sent from the ActiveMQ - Dev forum at Nabble.com.
Which Open Source MOM to opt for
HI, I am in the hunt of an Open source MOM ... I am not sure which one is widely popular and best. Kindly suggest a location which could give me a comparison for the various open source MQ options available. It should have C++ support. Can anybody tell me why we should use ActiveMQ ... what are the prime benefits of this MOM please. Thanks in advance Lalit ... -- View this message in context: http://www.nabble.com/Which-Open-Source-MOM-to-opt-for-t1822112.html#a4968969 Sent from the ActiveMQ - Dev forum at Nabble.com.