• 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
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMS configuration question.

 
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I have a question regarding JMS configuration in JBoss. We send message from the JMS to the MDB.

Where can I see the message related info in JBoss.
means status of the message which is just shoot out.

My thinking it message is stored in Hypersonuc DB. is that right?

Can you tell what happens in (Detail view )between sending message from JMS to the reciving MDB?

Thanks,
Rahul.
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. An application places a message on a message-request queue.

2. An application may listen to a message-response queue.

3. A Message-Driven Bean is listening to the message-request queue. When a message is found on the queue, the onMessage() method of the Message-Driven Bean is called and executed by the EJB container.

Ideally, code in the Message-Driven Bean will do some message processing and then call on a Session EJB for business logic with data extracted from the message.

For emphasis, business logic always goes in a Session EJB and should not be coded in Message-Driven Beans.

Hope this helps!
 
Rahul Ba
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks James...

but I want to know Where can we see status of JMS message on JMX-console?

Thanks in advance.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks. I am not sure if JBoss includes a GUI for viewing messages on its message queues. You may get an answer from a JBoss forum, maybe.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The jmx-console has a MBean which shows the number of messages waiting in a queue.
 
Rahul Ba
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jaikiran, Where to see in JMX-Console?

Thanks in advance.
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rahul Ba:
Jaikiran, Where to see in JMX-Console?

Thanks in advance.



An example -

1) Access the jmx-console (ex: http://localhost:8080/jmx-console)
2) Locate the "jboss.mq.destination" domain and under that you will find a link to your queue. Ex: name=A,service=Queue
3) Click on that link. That link will lead you to a page which has various details about the queue including the message count.
 
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic