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

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

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

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

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 first published in November 2006

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.

    Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.