• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Messege driven bean on Weblogic 8.1

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

I want to implement and example of Messege driven bean on weblogi 8.1.
Can anyone tell me what I have to configure for the client and what for messege driven bean.
For example in the weblogic server console, under JMS node, I have configured a connection factory and the server, is that enough of do I have to configure JMS bridge too?
I would appreciate if anyone can send me any good link or tell me how to go about it.
Thank You.
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You also need to create a queue/topic depending upon what you need to do.
If you are trying Publish-subscribe go create a topic, otherwise create a queue in the weblogic console.

Then Use any of the IDEs and create a basic MDB. When you create a MDB tru IDE( like JBuilder, Visual Cafe etc.,), All the details of descriptors will be taken care by the IDE. Take the EAR/JAR file to deploy.Make sure that your Topic/Queue is created before you attempt to deploy. Deploy it.

Then go to the weblogic help part (code section) and you will find a client to send a message to the Topic/Queue.
Modify the JNDI names in there and reusue them to send the message.

When a message hits the Topic/queue the onMessage() method gets run. Put in a System.out.println statement in there to print output.

It's easy.
GOOD LUCK!!
 
atif sultan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok , I understand what I have to do now, but can you tell me if I have to configure the "messaging bridge" node or not.
Is the "messaging bridge" a MOM (message oriented middleware)?

Thanks alot for ur reply.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Message bridge is used to transfer messages between 2 messaging providers.

You configure the messaging node for any of the following situations

1. if you need to integrate your messaging system with a WLS that resides in another domain.
2. integrate your messaging system with 3rd party JMS providers
3. integrate your messaging system with other non-JMS messaging products
4. or integrate any 2 releases of WLS JMS.

see:
http://e-docs.bea.com/wls/docs70/adminguide/msgbridge.html

thanks
 
If you have a bad day in October, have a slice of banana cream pie. And this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic