Obtaining JMS Destination

  GigaSpaces 5.X

Documentation Home
Quick Start Guide
Release Notes

Previous release

  Search Here
Searching GigaSpaces Platform 5.X Documentation

                                               

Summary: Obtaining a destination from the session or using JNDI, and binding destination to the JNDI namespace.

Overview

The term JMS destination, covers both Point-to-Point queues as well as Publish-and- Subscribe topics.
The Enterprise Messaging Grid offers two options for obtaining a JMS destination:

  1. To use JNDI to obtain the Queue or Topic object and then to use that in your application. To use this option, one needs to add the destination name in the space configuration file (under the <administrated-destinations> tag). This in turn creates and stores the Queue or Topic object in JNDI. (This is the default option.)
  2. To obtain a destination from the session with the createQueue and createTopic methods.
    Option one is the easiest way to obtain a Queue or Topic object. However, option two, although in-keeping with JMS standards, creates a very basic API that only offers default parameters without provider-specific parameters.

More in this Section


Wiki Content Tree


Your Feedback Needed!

We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.

Labels

 
(None)