• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

How to configure a Connection Factory for Queue type message?

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using WL 7.0. Is there a way to specify the Connection Factory to be used for Queue messages? Or maybe a Connection Factory can be used for both Queue and Topic?
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am a bit confused...
Queues and Topics themselves do not use Connection Factories. However, the senders and recievers for the Queues and Topics do. Please explain your question in more detail so that we can give an appropriate answer.
 
liang gu
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What I really mean is that:
I want to configure a Connection Factory, and later use it to create QueueConnection. Do I need to specify some parameter in the configuration to indicate that the Connection Factory is used to create QueueConnection(not TopicConnection), or is it necessary?
 
Chris Mathews
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A WebLogic ConnectionFactory is both a QueueConnectionFactory and a TopicConnectionFactory. Therefore you do not have to create different ones for each.
Furthermore, in most cases you do not even have to configure a ConnectionFactory since you can use the default ConnectionFactory. Its Jndi name is weblogic.jms.ConnectionFactory.
See this link for more info: WebLogic JMS Connection Factories.
 
Just let me do the talking. Ahem ... so ... you see ... we have this tiny ad...
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic