File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS Questions" Watch "JMS Questions" New topic

JMS Questions

Malli Raman
Ranch Hand

Joined: Nov 07, 2001
Posts: 312
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.

I agree. Here's the link:
subject: JMS Questions
It's not a secret anymore!