aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Adding metadata information in JMS provider. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Adding metadata information in JMS provider." Watch "Adding metadata information in JMS provider." New topic
Author

Adding metadata information in JMS provider.

Santosh Ghule
Greenhorn

Joined: Aug 20, 2010
Posts: 7
Hi,,

I am new to JMS..Currently I am experimenting on a simple JMS application in which i want to transfer a metadata and data of table
for example
id Name dep
1 San dep1
2 Tom dep3

here i want metadata ie (id(int), name(String), dep(String)) to sent to every client who is consumer connecting to JMS provider

I am not understanding how to do this.
I am using ActiveMq JMS provider


Cheers,
Santosh
Santhosh ayiappan
Ranch Hand

Joined: Jan 30, 2007
Posts: 80

When you want to send some data using JMS, XML is most preferred option. Construct the request in an XML format and post it to the Queue. Let the client who is listening to the Queue consume the message and parse it.

~Santhosh
Santosh Ghule
Greenhorn

Joined: Aug 20, 2010
Posts: 7
Hi...
Is there way in which we could store some information in JMS Provider so that when a client connect to JMS provider, he would
fetch these common data stores in JMS provider.Not the messages,,,


Thanks,
Santosh
 
wood burning stoves
 
subject: Adding metadata information in JMS provider.