dcsimg
Can QueueSender be used to publish to a Topic (conf.on Weblogic 6.1)
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Max_Planck
Posted On:   Tuesday, October 25, 2005 10:42 AM

Hi all, I am trying to make my jms client independent of the messaging domains (p2p, pub-sub) I found that this is spec. in jms 1.1 that weblogic 6.1 does not support However, on a trial, i found that i could publish to a Topic using a QueueSender ( and receive too).. Can this be used to make the client domain independent? the code bit is attached.. InitialContext objInitContext = new InitialContext(env); SimpleQSender objSender = new SimpleQSender(); QueueConnectionFactory objConFac = (QueueConnectionFactory) objInitContext .lookup("MaxPlanFacDir"); Queue objQ = (Queue)objInitContext.lookup(&quo   More>>

Hi all,

I am trying to make my jms client independent of the messaging domains (p2p, pub-sub)

I found that this is spec. in jms 1.1 that weblogic 6.1 does not support

However, on a trial, i found that i could publish to a Topic using a QueueSender ( and receive too)..


Can this be used to make the client domain independent?


the code bit is attached..



InitialContext objInitContext = new InitialContext(env);

SimpleQSender objSender = new SimpleQSender();

QueueConnectionFactory objConFac = (QueueConnectionFactory) objInitContext

.lookup("MaxPlanFacDir");
Queue objQ = (Queue)objInitContext.lookup("MaxDsiTopic");




MaxDsiTopic is a Topic configured on Weblogic..

   <<Less
About | Sitemap | Contact