• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding metadata information in JMS provider.

 
Santosh Ghule
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 80
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic