I expect that if you could find a Node library that implemented one of
those other protocols, you'd be able to interact with the broker, but I
can't say for certain since I've never used any of the non-OpenWire
protocols under any language, let alone Node.

Did you already do a Google search for Node implementations of those
protocols? A quick Google search turned up
http://stackoverflow.com/questions/8016075/consuming-jms-messages-by-node-js,
but there may well be other NPMs beyond those.

Regarding EIPs, one option would be to run Camel embedded within the
ActiveMQ broker process, if that would meet your needs.

Alternatively, if you have a Node-based EIP framework that you want to use,
and it is capable of interacting with a JMS 1.x broker, it should be able
to interact with ActiveMQ. But maybe the more relevant question is, "which
specific EIPs are you hoping to use in Node.js with ActiveMQ?" Keep in mind
that EIPs are just patterns, and although a framework like Camel makes some
of them easier to use by writing some of the boilerplate for you, you
always have the option to implement the pattern yourself.

Tim

On Tue, May 9, 2017 at 6:43 AM, pedro-masterasp <pe...@masterasp.com> wrote:

> Background
> ----------
>
> I am studying ApacheMQ for a project where we need a message broker. Upon
> reading the [official page][1] I see some features that I am interested in:
>
>  - Access to messaging [Enterprise Integration Patterns][2] (EIPs)
>  - Support for the [STOMP][3], [AMQP][4], [MQTT][5] and [OpenWire][6]
> protocols
>
> However, following the documentation, it is not clear to me if some of my
> objectives are possible.
>
> Questions
> ---------
>
> I understand that in order to use ActiveMQ as a broker, I first need a
> messaging protocol. According to the documentation on [language support for
> Node.js][7] ActiveMQ only supports the STOMP protocol for Node.js.
>
> 1. Given that STOMP is a protocol, if I find a NPM library for any of the
> other protocols, can I use Node.js and ActiveMQ with that given protocol?
> 2. If such libraries exist, can you point some?
> 3. Are there any caveats in using Node.js and ActiveMQ with another
> protocol
> other than STOMP?
>
> Regarding EIPs, I also need some clarification. After closer checking, I
> realized that [EIPs can only be used via Apache Camel][2], a separate
> project with no support for anything other than Java.
>
> 4. Is it possible to use any of the EIPs that ActiveMQ offers with Node.js?
> If so, how?
>
>   [1]: http://activemq.apache.org/
>   [2]: http://activemq.apache.org/enterprise-integration-patterns.html
>   [3]: https://stomp.github.io/
>   [4]: https://www.amqp.org/
>   [5]: http://mqtt.org/
>   [6]: http://activemq.apache.org/openwire.html
>   [7]: http://activemq.apache.org/cross-language-clients.html
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Integration-between-Node-js-and-ActiveMQ-
> how-to-use-tp4725822.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to