JMS and OSGi Applications

An OSGi application can send and receive Java Message Service (JMS) messages. Your OSGi application can use JMS to interact with Enterprise JavaBeans (EJBs).

OSGi applications can use JMS resources that are configured within WebSphere® Application Server, in a similar way to using JMS resources with Java EE applications. For OSGi applications, each reference to a JMS resource is declared in a Blueprint XML file. Each bundle in an OSGi application can contain any number of resource reference declarations in its various Blueprint XML files.

Your OSGi application can bind to any of the following JMS resource types: You bind JMS resource references to your OSGi application when you add the EBA asset to a business-level application.
Note: An OSGi bundle or a web application bundle (WAB) cannot look up and invoke an EJB directly. However, you can configure your OSGi application to send JMS messages to destinations, and configure the EJBs or message driven beans (MDBs) to retrieve the messages from those destinations and respond to them.

Concept topic

Terms of use | Feedback


Timestamp icon Last updated: Tuesday, 20 September 2011
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-zos&topic=ca_jms

Copyright IBM Corporation 2009, 2011. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)