• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

MQSeries and GlassFish JMS

 
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings Fellow Ranchers,

I believe this is the first time I post to the WebSphere Forum, What an honor.

Alright, Today I would like to know how can I do something that I believe it's pretty common (So, maybe there's even a Tutorial out there).

I want to know How can I create a JMS Resource in GlassFish, that makes reference to/uses IBM's MQSeries ?

I have a very specific and Powerful Message Flow developed using WebSphere Message Broker Toolkit, that uses Queues as Input/Output (But you all already knew that ! )

As of now I can use IBM's Process Server and its APIs to create Web Services that are able to put messages IN MQSeries. But now I'm in the need to do it from GlassFish, So my idea is: Message Driven Bean. I believe an MDB can place a Message in a JMS Resource right? But If that's the case I lack the Knowledge on how to configure a JMS Resource that refers to.... MQSeries. Is it possible?

Please Let me know what you guys think, and,

Thanks in advance,

Sincerely,

Jose

Update: Actually I think I could use a Session Bean to put the message in the Queue right?
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You write MDBs to consume messages, not to initiate them. You can initiate messages from any applications by using the JMS API to connect to a queue and write a message to it. For example, you could write a web appication that allows the user to put a message on the queue.
 
Jose Campana
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Merrill,

Actually, that's what I meant with my update. I knew I was wrong. So, anything about the configuration I require?

anyone? anyone?

Good night.
 
It is no measure of health to be well adjusted to a profoundly sick society. -Krishnamurti Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic