What is the best way to achieve the desired JMS setup?

Consider a single JMS module that includes a connection factory as well as queue.
Based on your system’s requirements, the connection factory needs to be made available to all
servers in the domain. The queue, on the other hand, can be targeted to only a single JMS server
domain.
What is the best way to achieve the desired JMS setup?

Consider a single JMS module that includes a connection factory as well as queue.
Based on your system’s requirements, the connection factory needs to be made available to all
servers in the domain. The queue, on the other hand, can be targeted to only a single JMS server
domain.
What is the best way to achieve the desired JMS setup?

A.
Create two subdeployments within the JMS module.

B.
Target the JMS server to the JMS module.

C.
Target the JMS module to the entire domain.

D.
Replace the queue with a topic.

Explanation:
A subdeployment is a mechanism by which JMS module resources (such as
queues, topics, and connection factories) are grouped and targeted to a server resource (such as
JMS servers, server instances, SAF agents, or a cluster).
For example, you can group a connection factory with stand-alone queues or topics in a
subdeployment targeted to a specific JMS server, which guarantees that all these resources are
co-located to avoid extra network traffic. Another advantage of such a configuration would be if the
targeted JMS server needs to be migrated to another WebLogic server instance, then the
connection factory and all its connections will also migrate along with the JMS server’s
destinations. However, when stand-alone queues or topics are members of a subdeployment, a
connection factory can only be targeted to the same JMS server.
Reference: Oracle Fusion Middleware Oracle WebLogic Server Administration Console Online
Help 11g Release 1, Configure subdeployments in JMS system modules



Leave a Reply 3

Your email address will not be published. Required fields are marked *


siva

siva

I think “C” is correct answer. Can any one confirm that

Paul

Paul

I believe the answer is A because the queue can be targeted to only a single JMS server domain.

Brandon

Brandon

A is correct.

You create two subdeployments in the module, one that points to every server, and another that points to just the one server, you then assign those two subdeployments appropriately.