Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Messaging code without MDB  RSS feed

 
Yan Lee
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am working on a web based application I need to write code to consume off a queue. But we do NOT want to use any EJB's. MQSeries is the messaging product.

I have the following questions
[1] What are my options to write the message consumer without using EJB's?

[2] Has anyone used the Apache Commons messenger API?
http://jakarta.apache.org/commons/sandbox/messenger/
If so what is the review for the product?

Thanks in advance for the help.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use JMS APIs without EJB/MDB, or you can write straight to the MQ-Series client APIs. Code written to JMS should survive a change to another messaging product, while code written to MQ-Series would not. I use a vendor framework that generates MQ-Series client code from Rose models. It's pretty slick.
 
Marilyn de Queiroz
Sheriff
Posts: 9079
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by code poet:
[2] Has anyone used the Apache Commons messenger API?
http://jakarta.apache.org/commons/sandbox/messenger/
If so what is the review for the product?

I have used it. I think that it is not ready for production yet. We ran into unsolvable problems and ended up replacing all of that code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!