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
1
vote
1 answer

ActiveMQ CMS: Can messages be lost between creating a consumer and setting a listener?

Setting up a CMS consumer with a listener involves two separate calls: first, acquiring a consumer: cms::MessageConsumer* cms::Session::createConsumer( const cms::Destination* ); and then, setting a listener on the consumer: void…
arayq2
  • 2,502
  • 17
  • 21
1
vote
0 answers

activemq multiple consumers multiple topics performance

Im relatively new to activemq and one of the first things im trying to do is publish from a server process to 5,000 topics ( one topic per stock ). The server and broker manage to keep up fine. However on the consumer side its very odd. If I…
ByteMe95
  • 836
  • 1
  • 6
  • 18
1
vote
1 answer

ActiveMQCPP--Cannot publish to a deleted destinatination: temp-queue:

ActiveMQCPP version: 3.7.1 AcitveMQBroker version: 5.10.0 Here is a simple example. The code includes both consumer and producer // START SNIPPET: demo #include #include #include…
dhaval82
  • 25
  • 3
1
vote
1 answer

Activemq-cpp BytesMessage

I'm working with activemq-cpp and I am attempting to send binary data using BytesMessage. I have a producer and a consumer set up to send and receive the message. The connection and session is working properly because I am able to publish to a topic…
user459811
  • 2,874
  • 10
  • 37
  • 63
1
vote
1 answer

c++ ActiveMQ sending binary messages

Is it possible to send a stringstream containing binary over activemq? If so, how is this done? I know the Java version of activemq has a feature called BlobMessage or StreamMessage to do so, however, this isn't implemented in the c++ version yet.…
user459811
  • 2,874
  • 10
  • 37
  • 63
1
vote
1 answer

ActiveMQ-cpp: Loss of connection despite failover

I am using ActiveMQ 5.15.4, with my broker configured for openwire connections like so: ... to ensure that I get no…
Eric
  • 1,414
  • 3
  • 16
  • 35
1
vote
2 answers

Static linking ActiveMQ-cpp

I am creating a c++ project where I want it to run in standalone mode without any dependencies since it will be deployed on multiple servers. This is my CMakeLists file : project(CMS-test) cmake_minimum_required(VERSION 2.6) add_executable(main…
medukrin
  • 11
  • 6
1
vote
0 answers

Memory use increases when sending messages using ActiveMQ-cpp

When using ActiveMQ-cpp all of the ActiveMQ clients that are created and send messages using cms::MessageProducer gradually increase the memory usage. Right now that looks to be about 4Kb per message send. There does not appear to be any memory…
physnicm
  • 11
  • 1
1
vote
2 answers

Does ActiveMQ-CPP 3.9.4 Support OpenSSL 1.1.0?

I am attempting to build the latest version of Apache ActiveMQ-CPP, which is 3.9.4. I have built both of the required dependencies, APR and OpenSSL. For OpenSSL, this is version 1.1.0f. I am able to build all 4 of the configurations without SSL…
Jeff G
  • 4,470
  • 2
  • 41
  • 76
1
vote
0 answers

LNK2001 error when building in Release-DLL

I am making some changes in Apache ActiveMQ CMS library (a potential bug fix). I have fixed the bug and tested it in Debug mode. Now I want to make it's release dll to be added in my project. When I try to build using Release-DLL configuration,…
Awais
  • 319
  • 3
  • 13
1
vote
0 answers

Windows7: getaddrinfo returning "No such host is known" for [::1]

I'm working on modifications to my code to support dual stack environments on Windows 7 et. al. The code uses ActiveMQ-CPP (3.8.4). I've set this up to use a connection to the broker on URI "tcp://[::1]:61616". I've already found I need to…
wdtj
  • 4,554
  • 3
  • 17
  • 20
1
vote
2 answers

Active MQ Timeout time

I am creating a listener using activemq-cpp library on linux side. However, the java activemq broker on windows side (server runs on windows) breaks the connection after 30 seconds. The error message is : Transport Connection to : tcp://x.y.z.w…
bhavesh
  • 1,343
  • 2
  • 14
  • 23
1
vote
1 answer

Issues with ActiveMQ 3.8.3 (CPP) priorityBackup not working

I am a little new to active MQ so please bear with me. I am trying to take advantage of the ActiveMQ priority backup feature for some of my Java and CPP applications. I have two brokers on two different servers (local and remote), and I want the…
Charlie L
  • 11
  • 2
1
vote
1 answer

How to start embedded broker with ActiveMQ-CPP

I'm using ActiveMQ-CPP in a project and want to start an embedded broker. I have found references to the 'MockBrokerService' but can't find documentation on it. What I have found says its for testing. Does ActiveMQ-CPP support launching of a fully…
1
vote
1 answer

activemq-cpp throws "Thread local storage limit" reached when sending

I have been developing a threaded data pooling system interconnected with ActiveMQ-cpp (library version 3.8.2). The system manages a group of devices which can be pooled periodically, the poll results sent to a queue in the broker. The answers queue…
Nare
  • 71
  • 8