# JMS River

**URL:** <https://discuss.elastic.co/t/jms-river/5364>\
**Category:** Elasticsearch\
**Created:** [September 13, 2011, 1:21am UTC](https://discuss.elastic.co/t/jms-river/5364 "2011-09-13T01:21:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lalit\_mishra](https://avatars.discourse-cdn.com/v4/letter/l/b77776/32.png) [@lalit\_mishra](https://discuss.elastic.co/u/lalit_mishra)\
**Post date:** [September 13, 2011, 1:21am UTC](https://discuss.elastic.co/t/jms-river/5364/1 "2011-09-13T01:21:15Z")

</div>

Hi Shay,  
In our project we receive documents which we want to index from a queue (IBM  
MQ server) and it will be nice to use JMS rather than using proprietary  
class. Could you please advise as to how I can get this working using the  
Plugin api and does elasticsearch provide JNDI, JMS related service?

Regards,  
Lalit.

---

<div class="post-metadata">

**Author:** ![Mahendra\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mahendra_m/32/3128_2.png) [@Mahendra\_M](https://discuss.elastic.co/u/Mahendra_M)\
**Post date:** [September 13, 2011, 5:28am UTC](https://discuss.elastic.co/t/jms-river/5364/2 "2011-09-13T05:28:10Z")

</div>

Hi Lalit,

Maybe you can have a look at the RabbitMQ plugin and use that to build the  
JMS river. IIRC, JMS and AMQP are pretty similar.

Regards,  
Mahendra

On Tue, Sep 13, 2011 at 6:51 AM, lalit mishra [lalit2583@gmail.com](mailto:lalit2583@gmail.com) wrote:

> Hi Shay,  
> In our project we receive documents which we want to index from a queue  
> (IBM MQ server) and it will be nice to use JMS rather than using proprietary  
> class. Could you please advise as to how I can get this working using the  
> Plugin api and does elasticsearch provide JNDI, JMS related service?
> 
> Regards,  
> Lalit.

--  
Mahendra

[http://twitter.com/mahendra](http://twitter.com/mahendra)

---

<div class="post-metadata">

**Author:** ![lalit\_mishra](https://avatars.discourse-cdn.com/v4/letter/l/b77776/32.png) [@lalit\_mishra](https://discuss.elastic.co/u/lalit_mishra)\
**Post date:** [September 15, 2011, 3:54pm UTC](https://discuss.elastic.co/t/jms-river/5364/3 "2011-09-15T15:54:48Z")

</div>

Hi Mahendra,  
In case of JMS we lookup for connection/destination factories over a JNDI,  
So how we can achieve this in ES server?  
OR  
Do we maintain our own connection/destination factories within the plugin?

Regards,  
Lalit.

On Tue, Sep 13, 2011 at 10:58 AM, Mahendra M [mahendra.m@gmail.com](mailto:mahendra.m@gmail.com) wrote:

> Hi Lalit,
> 
> Maybe you can have a look at the RabbitMQ plugin and use that to build the  
> JMS river. IIRC, JMS and AMQP are pretty similar.
> 
> Regards,  
> Mahendra
> 
> On Tue, Sep 13, 2011 at 6:51 AM, lalit mishra [lalit2583@gmail.com](mailto:lalit2583@gmail.com) wrote:
> 
> > Hi Shay,  
> > In our project we receive documents which we want to index from a queue  
> > (IBM MQ server) and it will be nice to use JMS rather than using proprietary  
> > class. Could you please advise as to how I can get this working using the  
> > Plugin api and does elasticsearch provide JNDI, JMS related service?
> > 
> > Regards,  
> > Lalit.
> 
> --  
> Mahendra
> 
> [http://twitter.com/mahendra](http://twitter.com/mahendra)

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [September 16, 2011, 10:06pm UTC](https://discuss.elastic.co/t/jms-river/5364/4 "2011-09-16T22:06:53Z")

</div>

I suggest you start with the basics, don't write an elasticsearch plugin,  
just write a standalone code registers with JMS and index data it receives.  
Once you have that, then you can choose if you want to make it into a River  
in elasticsearch, or run it yourself.

On Thu, Sep 15, 2011 at 6:54 PM, lalit mishra [lalit2583@gmail.com](mailto:lalit2583@gmail.com) wrote:

> Hi Mahendra,  
> In case of JMS we lookup for connection/destination factories over a JNDI,  
> So how we can achieve this in ES server?  
> OR  
> Do we maintain our own connection/destination factories within the plugin?
> 
> Regards,  
> Lalit.
> 
> On Tue, Sep 13, 2011 at 10:58 AM, Mahendra M [mahendra.m@gmail.com](mailto:mahendra.m@gmail.com) wrote:
> 
> > Hi Lalit,
> > 
> > Maybe you can have a look at the RabbitMQ plugin and use that to build the  
> > JMS river. IIRC, JMS and AMQP are pretty similar.
> > 
> > Regards,  
> > Mahendra
> > 
> > On Tue, Sep 13, 2011 at 6:51 AM, lalit mishra [lalit2583@gmail.com](mailto:lalit2583@gmail.com)wrote:
> > 
> > > Hi Shay,  
> > > In our project we receive documents which we want to index from a queue  
> > > (IBM MQ server) and it will be nice to use JMS rather than using proprietary  
> > > class. Could you please advise as to how I can get this working using the  
> > > Plugin api and does elasticsearch provide JNDI, JMS related service?
> > > 
> > > Regards,  
> > > Lalit.
> > 
> > --  
> > Mahendra
> > 
> > [http://twitter.com/mahendra](http://twitter.com/mahendra)

---

<div class="post-metadata">

**Author:** ![lalit\_mishra](https://avatars.discourse-cdn.com/v4/letter/l/b77776/32.png) [@lalit\_mishra](https://discuss.elastic.co/u/lalit_mishra)\
**Post date:** [September 19, 2011, 1:50pm UTC](https://discuss.elastic.co/t/jms-river/5364/5 "2011-09-19T13:50:39Z")

</div>

Sure Shay will give a try

On Sat, Sep 17, 2011 at 3:36 AM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> I suggest you start with the basics, don't write an elasticsearch plugin,  
> just write a standalone code registers with JMS and index data it receives.  
> Once you have that, then you can choose if you want to make it into a River  
> in elasticsearch, or run it yourself.
> 
> On Thu, Sep 15, 2011 at 6:54 PM, lalit mishra [lalit2583@gmail.com](mailto:lalit2583@gmail.com) wrote:
> 
> > Hi Mahendra,  
> > In case of JMS we lookup for connection/destination factories over a JNDI,  
> > So how we can achieve this in ES server?  
> > OR  
> > Do we maintain our own connection/destination factories within the plugin?
> > 
> > Regards,  
> > Lalit.
> > 
> > On Tue, Sep 13, 2011 at 10:58 AM, Mahendra M [mahendra.m@gmail.com](mailto:mahendra.m@gmail.com)wrote:
> > 
> > > Hi Lalit,
> > > 
> > > Maybe you can have a look at the RabbitMQ plugin and use that to build  
> > > the JMS river. IIRC, JMS and AMQP are pretty similar.
> > > 
> > > Regards,  
> > > Mahendra
> > > 
> > > On Tue, Sep 13, 2011 at 6:51 AM, lalit mishra [lalit2583@gmail.com](mailto:lalit2583@gmail.com)wrote:
> > > 
> > > > Hi Shay,  
> > > > In our project we receive documents which we want to index from a queue  
> > > > (IBM MQ server) and it will be nice to use JMS rather than using proprietary  
> > > > class. Could you please advise as to how I can get this working using the  
> > > > Plugin api and does elasticsearch provide JNDI, JMS related service?
> > > > 
> > > > Regards,  
> > > > Lalit.
> > > 
> > > --  
> > > Mahendra
> > > 
> > > [http://twitter.com/mahendra](http://twitter.com/mahendra)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:54am UTC](https://discuss.elastic.co/t/jms-river/5364/6 "2017-07-06T03:54:08Z")

</div>


