jQuery in Action, 2nd edition*
The moose likes EJB and other Java EE Technologies and the fly likes JMS Questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS Questions" Watch "JMS Questions" New topic
Author

JMS Questions

Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
Hi,
I have some doubts about JMS Persistence using Weblogic 8.1 appln server.
1) I have configured the QueueConnectionFactory and Queues in the Weblogic 8.1 console and set the default deliveryMode as Persistence in the QueueConnectionFactory. But I am not configured the Stores. How is it possible to send the message as persistence without storing the message in a file / database?
2) Now i have configured one JDBC Store and Using PTP method i send a message to the queue. Thereafter I have restarted the server. Whether the message is avaialble now in the queue.
3) In weblogic 8.1 why don't we have any seperate option for configuring the QueueConnectionFactory and TopicConnectionFactory. We have only option
of creating the connection Factory. If so they in the client file for the lookup why should we have to type cast it to their respective class . Whether the application server is implemented this logic or what?
QueueConnectionFactory qcf = (QueueConnectionFactory) ctx.lookup("ConnectionFactory");
TopicConnectionFactory tcf = (TopicConnectionFactory) ctx.lookup("ConnectionFactory");

4) To make Durable Subscriber why should we have to set the client ID in the ConnectionFactory. If so then we have separate Connection Factories for Durable subscription. Am I right.

Regards,
M.S.Raman
Regards,
M.S.Raman
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS Questions
 
Similar Threads
JMS Persistence Message Delivery
Why this compiles in Sun App Server but not JBOSS
query Regarding name not bound exception in EJB3...
Publish to Weblogic JMS queue from TIBCO
JBOSS AND JMS HELP!!!