Problem solve Get help with specific problems with your technologies, process and projects.

How to use SAP's Web AS J2EE JMS Queue in Exchange Infrastructure

This tip by SDN contributor William Li steps through how to create JMS queues you can use for XI scenarios with J2EE Visual Adminstrator without having to license MQSeries or SonicMQ.

How to use SAP's WebAS J2EE JMS Queue in Exchange Infrastructure

Did you know that the WebAS J2EE server also contains JMS queues you can use for XI scenarios? And that you don't...

have to license MQSeries or SonicMQ? The queues can be created and configured using the J2EE Visual Adminstrator, and be used in JMS sender and receiver communication channels.

Creating a queue in the Visual Administrator:

1. Navigate to Server -> Services -> JMS Provider
2. Click on the "Default" service or create your own
3. Click on the tab: Queues
4. Click on "Create" to create a queue

Create/Configure JMS sender and receiver communication channels:

*JMS Sender Communication Channel:

Configurations:

Transport Protocol: Access JMS Provider with JNDI
JNDI Lookup Name of QueueConnectionFactor: jmsfactory/default/QueueConnectionFactory
JNDI Lookup Name of JMS Queue: jmsqueues/default/MyTestQueue (This is based on the path of the queue created in Visual Administrator.)
Name of JNDI Initial Context Factory: com.sap.engine.services.jndi.InitialContextFactoryImpl

*JMS Receiver Communication Channel:

Configurations:

Transport Protocol: Access JMS Provider with JNDI
JNDI Lookup Name of QueueConnectionFactor: jmsfactory/default/QueueConnectionFactory
JNDI Lookup Name of JMS Queue: jmsqueues/default/MyTestQueue (This is based on the path of the queue created in Visual Administrator.)
Name of JNDI Initial Context Factory: com.sap.engine.services.jndi.InitialContextFactoryImpl

NOTE: Unfortunately, there is no tool to view or administer the content of the queue.

William Li is a member of the NW XI RIG at SAP Labs.


This content is reposted from the SAP Developer Network.
Copyright 2006, SAP Developer Network

SAP Developer Network (SDN) is an active online community where ABAP, Java, .NET, and other cutting-edge technologies converge to form a resource and collaboration channel for SAP developers, consultants, integrators, and business analysts. SDN hosts a technical library, expert blogs, exclusive downloads and code samples, an extensive eLearning catalog, and active, moderated discussion forums. SDN membership is free.

Want to read more from this author? Click here to read William Li's Weblog. Click here to read more about Exchange Infrastructure on SDN.



This was last published in November 2006

Dig Deeper on SAP PI-XI

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close