Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8757343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:16:44+00:00 2026-06-13T14:16:44+00:00

I am working in a new project.The project consists of using websphere MQ, Websphere

  • 0

I am working in a new project.The project consists of using websphere MQ, Websphere server.
We have queue in the Websphere MQ including Queue manager.We also have the queue and connection factory defined in the websphere application server. Now, my question here is why we need o create queue and connection factory in the websphere application server, even they are defined in the WEBSPHERE MQ.Can’t our application directly use the queue defined in the Websphere MQ?

Please clear my query.Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:16:46+00:00Added an answer on June 13, 2026 at 2:16 pm

    Actually, the Connection factory is not defined in WebSphere MQ. The queue is but it’s not the same as what you are creating in WAS.

    When using JMS the objects have two interfaces. The JMS API is the interface seen by the code and developers. The Service Provider Interface is the part that interacts with a particular JMS transport provider. It takes both of these to make a JMS object such as a QCF or Destination.

    When you create an object definition in WAS (or any JNDI repository, for that matter) what is created is an object that the program can refer to (the JMS API part) but that also “knows” how to talk to the specific transport provider as well (the SPI part). So when you define a queue in WAS it is a directory entry that points to an actual physical queue defined in the transport provider, in this case WebSphere MQ. Similarly, when you define a Connection Factory, it is also nothing more than a directory entry that conforms to the JMS API and also “knows” how to talk to the transport provider using its proprietary protocol and wire formats. In this case since the transport provider is WebSphere MQ, that Connection Factory directory entry has to know about things like QMgr name, host, port, channel, SSL/TLS details, etc.

    In some cases where the app server is the transport provider (i.e. WAS with Service Integration Bus as the JMS transport) creating the JMS object definition creates the physical object at the same time.

    The reverse is also true. In WebSphere MQ when you crate a queue or topic using WebSphere MQ Explorer, you have the opportunity to define the JMS object definition, provided that you have configured WMQ Explorer to talk to the repository where the managed objects are stored. For example, you can use LDAP to store managed object definitions, point both WebSphere MQ Explorer and WAS at the LDAP directory and manage all the JMS objects there.

    So to reiterate, defining the JMS object in WAS creates only the directory entry and not the actual WMQ object. This is true for any external JMS transport that you use with WAS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm coming from a MS SQL Server background. Working on a new project using
I'm working on a new project and I'm using the repository pattern, I have
I am working on a new project for a client; they have supplied the
I'm working on a new project right now and am thinking of using an
I'm working on a new project, using Apache's mod_rewrite and PHP to get pretty
Working a new project using Knockout, the base documentation didn't seem to explain a
I'm working on a new project and we're using a pretty nice stack. NHibernate,
I'm working on a new project right now and thinking of using an ORM
I am working on a mini-project which consists of doing a client-server chat application.
I'm working on a new project now, and have given some thought to the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.