JMS ADAPTERS - Creating Weblogic Resources
JMS Adapter Configuration
JMS (Java Messaging Service) Adapter
is based on JCA architecture (J2ee Connector Architecture) also known as
Binding components. It can be used either as Inbound (receive message) or external
(publish message).
Adapters basic helps converts native
data to web services format to be used by composite. Conversion is done using
JCA API, packaged as .rar file deployed in WebLogic server which is available
during the runtime of a composite.
It falls under category of Technology
Adapters. This can be used by both Oracle SOA Suite and Oracle Service Bus.
JMS is Java Messaging Server
Application which runs of Application Servers as WebLogic provides JMS
messaging infrastructure two mechanisms for message exchange –- Point to Point (Queue)
- Publisher Subscribers (Topic)
JMS Adapter Configuration
- Login to SOA CS instanceàClick Managed Service IconàClick WebLogic Administrative Console.
- Login to WebLogic Admin ConsoleàExpand Domain Structure Panelà ServicesàMessagingàJMS Modules
- Click Lock and Edit Button. We can either create a new JMS module or create a new infrastructure under an existing module like SOAJMSModule. Click this module
- Click Newà Select Queue àClick NextàProvide Name and JNDI Name as TestQueue1 and jms/TestQueue1. Click Finish. The Queue is now created
- Click QueueàClick Subdeploymentà(Target to SOA JMS Server)
- Click NewàSelect Connection FactoryàClick NextàProvide Name and JNDI Name as TestCF1 and jms/TestCF1. Click Finish. The Connection Factory is now created
- Click ConnectionFactoryàClick Subdeploymentà(Target to SOA JMS Server)
- Expand Domain Structure Panelà Deploymentsà JmsAdapteràClick ConfigurationàClick Outbound Connection PoolàSelect Existing Connection FactoryàClick newàGive JNDI Name of ConnectionPool as eis/TestQueue1. Save the deployment plan as JMSAdapterPlan.xml
- Go Back to the ConnectionFactory created in Step8. Click the above JNDIàProvide ConnectionFactory created in Step 6 in the ConnectionFactoryLocation field, Click Save. Finally activate changes.
- Click Lock and Edit. Expand Domain Structure Panelà Deploymentsà Navigate to JMS AdapteràClick JMS AdapteràClick Update Button, Click the option having the deployment plan created in Step8