We are trying to implement Active MQ C client in AIX Server. Having lot of compatibility issues to compile the CMS client in AIX.
Please anyone suggest me what are other possibilities to use active MQ client and Step by step it would help to solve our issue.
Server : AIX 6.1
compiler : XLC
Thanks in advance.
There is no supported ActiveMQ C or C++ client for AIX, in fact the ActiveMQ CPP client is not being actively maintained so I would suggest looking into something like a simpler STOMP client or perhaps give one of the Qpid project clients a try to see if that would work as ActiveMQ 5 has support for AMQP 1.0 as well.
Related
I have a C++ GDB Server application that runs on host and is currently integrated with Eclipse CDT to provide debugging support on different hardware platforms. Below is overall structure of it:
Eclipse CDT <-----> GDB <-------> MYGDBServerApp <------> Hardware Platform
This app listens on a port for communication with GDB. This works perfectly fine in desktop environment.
I am now evaluating options to move whole solution to web. For this, I need to move this native C++ GDB server application to web as well. For Cloud based IDE, I am using Eclipse Theia project and have developed an extension for it. Now, I am looking for options to somehow use this C++ application from browser as well.
I have tried to compile this app to WASM using emscripten but I ran into different problems. One problem is socket communication. As WASM script will be running in browser, it cannot open TCP sockets for communication. It can only use websockets and Emscripten documentation suggests to use some proxy server (websockify) to translates WebSockets traffic to normal TCP socket traffic.
I have following questions:
What are recommended options to use such application from browser?
Has someone tried this proxy-server approach in similar scenario. As per Emscripten documentation, This emulation is not very complete at the moment, it is likely that you will run into problems out of the box
Is there any other better approach to reuse/port this application to web?
While running through the qpid c++ api tutorial I ran into "Session ended by peer with amqp:internal-error" which i assume is because of different versions of the qpid api and my broker (Rabbitmq).
I have changed the rabbitmq to use protocol 1.0, but it looks like qpid defaults to 0-10. I have found a bunch of articles saying I should move up to version 1.0 of the api, but I have not been able to find out how. Does anyone know how to do this?
Figured out the solution, when creating connection you can set protocol there, though i think you may need qpid-proton installed as well.
Connection connection("rabbitmq-serv:5672","{protocol: 'amqp1.0'}");
It still gets failures, but rabbitmq seems to acknowledge that it exists
Also qpid-proton seems to connect to rabbitmq no problem, using the amqp1.0 by default
just as the title says, someone of you has had luck integrating Solace messages from an embedded application. I could only find their API to be used under an operating system, not for standalone applications.
Is there any stack or libraries to do the task from a 32bit microcontroller under C/C++?
You could always use MQTT from your embedded platform to connect to Solace.
Different endpoints can use different messaging protocols, so a telemetry reading going in via MQTT can be seamlessly fanned out over JMS and AMQP to different backends.
Solace PubSub+ Message Brokers natively support the OASIS MQTT 3.1.1 standard to meet the needs of connected devices and mobile applications. MQTT is a lightweight messaging protocol specifically designed for applications where a small code footprint is required, such as for embedded applications.
There are many free MQTT client libraries available for use. For example, an Arduino specific MQTT client is available here:
https://pubsubclient.knolleary.net/
I've been looking through the poco samples and documentation, but I couldn't find out how to use poco's websockets and SSL combined. I successfully connected a non-SSL websocket (based on the WebSocket class) to a server (the echoserver sample from Qt5.4, running on Ubuntu), but how to add SSL to the client eludes me. Poco's NetSSL_OpenSSL samples aren't all that helpful, because I don't need to know how to download, tweet, mail or write a time server. Also the latter is the only one that uses "SecureStreamSocket" objects at all (which is probably the class I need). But that sample just accesses the socket from the request object, it doesn't show how to create and configure one properly.
I just want an SSL websocket client to send and receive some simple messages, like "Hello World". Can anyone help me please?
I use Windows 7 64 Bit for the client's OS and Ubuntu 64 Bit on VirtualBox for the server's OS, but the server side is no problem. My poco version is 1.6.0 and I compiled it with Visual Studio 2013 Express. Also I use OpenSSL 1.0.1j.
Cheers
Alex
Look at WebSocket testcase. Use HTTPSClientSession (instead of HTTPClientSession).
I'm looking to connect an Intel Galileo to Azure through The Windows 8 version for the Internet of things.
I'm looking to store sensor data such as temperature and humidity in Azure, and have some form of message passing from an app on a phone to the service in Azure and on to the board (and back again).
There are plenty of examples doing this for apps etc, but I can't find anything on doing it with the Galileo. I'm pretty novice when it comes to Azure. Any suggestions would be appreciated.
Cheers!
You can use AMQP 1.0 and Azure Service Bus (Event Hubs or Topics). Apache Qpid Proton can be runned on Intel Galileo and Windows 8.
Please, consult Connect The Dots project and its pull requests for more examples.