Folks,
Apache-Camel does not seem to support AMQPs when connecting to Rabbit. Does anyone know if this is somewhere in the pipeline to be built?
When attempting all connections, we get this in Rabbit logs:
error on AMQP connection <0.30060.4>: {ssl_upgrade_error,timeout} (unknown POSIX error)
Thanks!
Current RabbitMQ Camel Component does not support any SSL configuration features. Also, if you take a look to their JIRA it seems there is no ticket open for implementing this (Camel Jira for RabbitMQ Tickets)
You can fill a ticket or, even better, you could modify the existent component to support SSL and donate it to the open source community. If you plan to do this, please read Apache Camel: Contributing
Related
In order to satisfy a certain criterium, there is a need to publish a message to an existing ActiveMQ instance. Currently we use different software and a JMS-based connection to publish and read messages.
I did find about the additional plugins where MQTT is listed. We don't prefer to use that protocol if not required.
I could not find any plugins for Apache Hop that deal with receiving/sending over JMS, so is that an option?
I will unfortunately have to disappoint you in this case.
As far as I know no one has written a plugin to support ActiveMQ yet.
You can create a ticket on our jira to request a community member to create such a transform(s). Or we can support you through our mailing-list if you have specific questions when writing a plugin to support it.
Can we write and read the message using RFHUTILC into ActiveMQ?
I know RFHUTILC is used for writing and reading messages into IBM MQ but my requirement is to pull/Read a message from Apache ActiveMQ.
RFHUTILC won't work, as it only talks IBM MQ's protocol, which is non-standard and specific to IBM MQ. ActiveMQ supports a number of standard and open source protocols, as #Justin Bertram mentioned.
RFHUTIL is IBM MQ only. I made a smilar tool called A that has been around sometime for ActiveMQ (generic JMS with OpenWire/ActiveMQ, HornetQ and AMQP protocols bundled) that you can use instead. It's command line though, no GUI. Free/open source.
https://github.com/fmtn/a
There are of course other similar utilities with GUI, such as Hawt.IO among others. Some are a bit outdated though (Hermes JMS).
I'm looking to use a message queue system for an ongoing project, which now is relying on a custom (and brittle) message subsystem to interconnect multiple applications. Both the pub/sub and queue patterns are heavily used in my system.
Apache Apollo is one of the message queue systems I'm taking into account, but I don't find information about how can I handle (for instance) an Apollo server failure.
Is there a way to provide failover support in Apollo?
No, as of now this has not been resolved. Apollo is a very good broker, indeed, but lacks some production critical features like fail over. Apollo was an attempt to make a core for the next generation of ActiveMQ. However, the development is no loger active.
Have you considered other brokers like Apache Artemis? It's basically a new attempt to remake ActiveMQ with code from HornetQ, ActiveMQ and Apollo. Development is very active at the moment and there is support for fail over etc.
I'm kind of new to these protocols, and just started exploring Message brokers like Apache Apollo and RabbitMQ.
So my broker receives MQTT messages from a publisher. And I would like to convert it into AMQP (preferably) or STOMP protocol to send to a web server. But I've so far been unable to do so.
I looked into RabbitMQ, and tried enabling the MQTT plugin, but when I do load it, I'm unable to start the server.
I was wondering if anyone can guide me here? Is there an API that can help me? And I'm very confused about RabbitMQ. I've been able to load other plugins easily,like stomp, management utilities etc.
I'm 100% sure it is doable. I am doing it right now with robomq.io broker. One cause could be sometimes bugs in your client library restrict you doing so.
Another thing you should be aware of is that internally, RabbitMQ MQTT adapter is mapped into amq.topic exchange by default, so on your STOMP peer, you should subscribe or send to /topic/yourTopic; on your AMQP peer, bind your queue to amq.topic exchange or publish to that exchange.
Follow this example code and documentation to build your client.
If you can't figure out your server, just get a free trial from robomq.io. It saves you time and money.
The development tool I am using is robomq.io broker, producers in Python (AMQP library: pika, MQTT library: paho, STOMP library: stompest), consumer in Node.js (library: amqplib).
Hope it helps!
Well, I'm not sure if this question should be taken down. But if it has to be I leave it to the discretion of the moderators and the stackOverflow community in general.
btw, I use Ubuntu 14.04.
About the RabbitMQ broker
So Mosquitto was running un the background occupying the port 1883 normally used for MQTT. I could have changed the port for RabbitMQ, but decided against it and tried to kill the Mosquitto process. But for some reason, I could NOT.
For now, my quick fix was removing Mosquitto completely and this freed the port, enabling RabbitMQ to use it.
About the protocols
I've used Paho and the RabbitMQ libraries provided to code out simple programs that can publish and receive messages in AMQP/MQTT via the RabbitMQ broker.
(My Googling needs to be better!)
Still haven't converted one to the other. But that shouldn't be too big a step to achieve.
Still would be nice to know if there's an API or something that can help me achieve the conversion in a very simple manner. Of course, if there's not, I'll figure it out ASAP
Any suggestions/comments are heartily welcome. I'm brand new to all this and could really use advice from all you seasoned pros :)
I have been tasked with integrating ActiveMQ with Weblogic (v 10.3.6.0).
I have downloaded ActiveMQ v 5.10.0, installed it upon the server and browsed to localhost:8161/admin in order to confirm that ActiveMQ is running.
I'm not sure how to progress from here in order to complete my goal. This link:
http://activemq.apache.org/weblogic-integration.html
.. suggests that there are two approaches to deploying ActiveMQ on Weblogic: either deploying a broker as an application or using a J2EE Connector. I'm investigating the latter approach as I have now installed ActiveMQ on the server (which means that I already have a running broker, I assume) but can't find much useful information on the Net about how to do this.
This page:
http://activemq.apache.org/resource-adapter.html
... suggests that it can be done via a JCA Resource Adapter but again does not give any details on how to do it.
If anyone has any advice or guidance, I'd appreciate it.
Thanks in advance.
Did you try this: http://activemq.apache.org/how-to-deploy-activemq-ra-versionrar-to-weblogic.html?
You will have to grab the resource adapter from maven.
Not that your local installation will help you much expect for testing etc. You should deploy AMQ inside WebLogic if you want it to serve as the JMS layer of WebLogic - otherwise a totally standalone installation is fine. But then you're done, and I suspect you want the deployed version non the less.