JMS Messaging Support


XAP provide a JMS implementation, built on top of the core JavaSpaces layer. JMS messages are implemented as POJO, indexed, and routed to the relevant space partition according to the destination name. GigaSpaces XAP JMS implementation supports the unified messaging model, introduced in version 1.1 of the JMS specification.

Dependencies
In order to use this feature, include the ${XAP_HOME}/lib/optional/jms/xap-jms.jar file on your classpath or use maven dependencies:

<dependency>
    <groupId>org.gigaspaces</groupId>
    <artifactId>xap-jms</artifactId>
    <version>12.2.1</version>
</dependency>
See also:

For more information on dependencies see Maven Artifacts


JMS Basics
JMS basics and concepts.

JMS Messages with XAP
JMS messages implementation; supported and unsupported message types; message compression; accessing JMS messages via space API.

JMS-Space Interoperability
Creating JMS messages with the space API; reading/taking JMS messages with the space API; using JMS API with the MessageConverter to send custom POJOs to the space.

JMS Example
Including a JMS feeder in a processing unit using Spring JmsTemplate, and using the JMS message converter to send POJOs to the space, using the JMS API.

XAP JNDI
JNDI Overview, Binding/Obtaining ConnectionFactory and Destination instances.

JMS resources without JNDI
Obtaining JMS resources without JNDI, using JNDI with GSJMSAdmin.

Andvanced Options
Advanced options including transaction support and security.


Additional Resources

Best Practice Description
Master-Worker Pattern Grid computing pattern. Implementing distributed processing across multiple workers deployed into the Grid.
Priority Based Queue Messaging based pattern. Can be used when moving from J2EE JMS Quality of Service into XAP.
Parallel Queue Pattern Messaging based pattern. Can be used when moving from J2EE JMS Service Activator Aggregator Strategy/MDB into XAP.
Unit Of Work Messaging based pattern. Can be used when moving from J2EE JMS Unit of Order into XAP.