In this post, let's throw some light on how Oracle SOA can access JMS destinations deployed onto remote weblogic domain
Oracle JMS Adapter can be used to access remote WLS JMS destinations. Remote destinations refer to queues/topics that are available in a WLS JMS server, which is part of a remote Oracle WebLogic Server domain.
To enable Oracle JMS Adapter to read/write from/to a remote queue that is present in a remote WLS JMS server, we must configure the following:Oracle JMS Adapter can be used to access remote WLS JMS destinations. Remote destinations refer to queues/topics that are available in a WLS JMS server, which is part of a remote Oracle WebLogic Server domain.
1.You must have a unique domain name and JMS server name in both the servers.
2.You must enable global trust between the two servers.
Refer to the following link for information about how to enable global trust between servers:
http://download.oracle.com/docs/cd/E13222_01/wls/docs100/ConsoleHelp/taskhelp/security/EnableGlobalTrustBetweenDomains.html
This configuration is appropriate when you connect to queues or topics present in WLS9.2 server.
There are two options supported that enable you to access remote destinations via the JMS adapter:
Direct Access
Direct access is defined via specification of the FactoryProperties property in the weblogic-ra.xml file, with access parameters indicating the remote domain.
java.naming.provider.url= t3://
Foreign JMS server
Configure the foreign server to access the remote domain.
Please refer to Oracle documentation for this
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/foreign_servers/ConfigureForeignServers.html
Notes:
- For inbound use cases, both options are supported. For outbound use cases only, direct access is supported, but configuring the foreign server is not supported.
- The JMS Adapter enables you to interact with WebLogic Server JMS destination locations in a domain that are remote to the WebLogicServer domain where SOA is installed.
- SAF(Store and Forward Agents)
- Bridges
In SAF scenario, when producer produced the message and if remote destination is not reachable then messages are stored locally and forwared to remote destination later when that is available
Bridge: This is similar to SAF but oracle recommendation is use it when we are connecting different messaging products(implemented by different vendors like Oracle and MS) or different implementations/versions of WLS messaging (like WLS 9.2 and WLS 10.3.x)
Thanks for sharing Good Information
ReplyDeleteOracle SOA Online Training India