Questions tagged [activemq-cpp]

Apache ActiveMQ-CPP provides a rich C++ client for Apache ActiveMQ the most popular and powerful open source message broker

Apache ActiveMQ-CPP is a fast, feature rich C++ client for Apache ActiveMQ. ActiveMQ-CPP provides many of the same advanced features as ActiveMQ's Java client library including connection failover support, SSL connectivity, Async sends, flow control and Message compression.

80 questions
10
votes
2 answers

Where can I manually configure ActiveMQ hostname?

I'm trying to set up Apache ActiveMQ for the first time I discovered that the name of my server has an underscore in it, and that is preventing ActiveMQ from starting. It throws this exception : java.net.URISyntaxException: Illegal character in…
jeph perro
  • 6,242
  • 26
  • 90
  • 124
6
votes
2 answers

How to build Apache ActiveMQ-CPP (and APR) on Windows?

I'm trying get some functionality written in C++ to communicate with Apache ActiveMQ (which natively uses JMS) located on a Linux machine. To make this connection I have tried to set up Apache ActiveMQ-CPP on my Windows 7 machine (development…
6
votes
1 answer

ActiveMQConnectionFactory sendTimeout

According to this config page on the ActiveMQ site, the connection.sendTimeout property is: Time to wait on Message Sends for a Response, default value of zero indicates to wait forever. Waiting forever allows the broker to have flow control over…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
4
votes
2 answers

Why does ActiveMQ Message server requires JDK, Not JRE?

ActiveMQ Message broker requires Java JDK (not the Java runtime JRE). Does anyone know why? Thank you.
M99
  • 1,859
  • 10
  • 28
  • 50
4
votes
1 answer

ActiveMQCPP connection.start() hangs up

I'm using ActiveMQ CPP 5.2.3 if it matters. I have JMS producer that connects using failover transport to JMS network of brokers. When I call connection->start() it hangs up (see AMQ-2114). If I skip connection start() and call…
dimba
  • 26,717
  • 34
  • 141
  • 196
4
votes
3 answers

Is ActiveMQ thread safe?

We would like to run our cms::MessageConsumer and cms::MessageProducer on different threads of the same process. How do we do this safely? Would having two cms::Connection objects and two cms::Session objects, one each for consumer and producer, be…
ThomasMcLeod
  • 7,603
  • 4
  • 42
  • 80
2
votes
1 answer

ActiveMQ C++ Synchronous Client

I have the following code from apache's svn. As you can see this is an asynchronous client. What i want is a synchronous client, so that clients, can ask my consumer "can i get a message please", and my consumer "certainly, sir, here it is". So i…
DarthVader
  • 52,984
  • 76
  • 209
  • 300
2
votes
1 answer

Durability Problem with ActiveMQ-cpp and stomp

I have a problem creating durable consumers and producers with ActiveMQ-CPP and stomp protocol. I am trying to connect to HornetQ using stomp, and capable of sending and receiving messages in non-durable state. I tried changing the producer to…
Sami
  • 1,369
  • 14
  • 35
2
votes
2 answers

HornetQ, consumer can't find queue

I'm trying to use ActiveMQ-CPP with HornetQ. I'm using the ActiveMQ-CPP bundled example, but I'm having a hard time with it. The producer works like a charm, but the consumer gives me the following message: * BEGIN SERVER-SIDE STACK TRACE Message:…
gmuller
  • 451
  • 1
  • 6
  • 17
2
votes
1 answer

Swift Client for activeMQ

Do we have any framework in Swift that is highly compatible with ActiveMQ?(Enables user to create/Remove, along with Subscribe/Publish(Usual) on topic & queue) I've tried Moscapsule and it works on topic but not on queue(apparently). Thanks in…
user6720362
2
votes
1 answer

ActiveMQ CMS with CMakeLists

I have a project in which I want to use activemq producer, for this reason I would like to add activemq libraries in my CMakeLists.txt. Previously, I was using MakeFile and I had the following…
user4964330
2
votes
3 answers

Can ActiveMQ CPP Api be used to Talk to RabbitMQ Broker?

We have C++ Software that needs to send message via RabbitMQ broker, has somebody tried ActiveMQ CPP lib (CMS) to send/receive messages to RabbitMQ broker?
Hacker_PK
  • 247
  • 1
  • 5
  • 6
2
votes
1 answer

ActiveMQ CMS - redelivery counter

Is there a way to know how many times a specific message has been redelivered? There's the method getCMSRedelivered() of the class cms::Message, that works alright but returns a boolean. There's also the method getRedeliveryCounter() of the class…
Ofer B
  • 117
  • 1
  • 12
2
votes
1 answer

Connect C++ to ActiveMQ broker

I'm trying develop aplication with comunication with JMS between C++ and Java. I have a "server" with a broker in Java and i would like conect a c++ publisher/listner How to i do this? My classes im Java are: "SERVER": public class Queue { private…
Alexandre Pinheiro
  • 370
  • 2
  • 6
  • 16
1
vote
1 answer

ActiveMQ-CPP and Visual Studio 2003

ActiveMQ CPP and Visual Studio 2003 I've have a requirement to get AMQ to work with some code that requires VS 7.1, however I'm having a difficult time getting it and various Apache libraries like apr etc to build using VS 7.1. There is a vs2008…
Xander Tulip
  • 1,438
  • 2
  • 17
  • 32
1
2 3 4 5 6