12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring JMS Connection Factories and Destinations<br />

Configuring JMS Connection Factories and Destinations<br />

Using the Management Console, navigate to the “Deployed Modules” list in the<br />

Partition whose JMS resource objects you need to configure. By default, every Partition<br />

has a predeployed JNDI Definitions Module (DAR) called default-resources.dar. Rightclick<br />

on the module and choose “Edit deployment descriptor” from the context menu.<br />

The Deployment Descriptor Editor (DDEditor) opens.<br />

In the Navigation Pane of the DDEditor is a list of JMS connection factories, and<br />

queues/topics preconfigured in the product. Click on the connection factory name. The<br />

right pane will display the properties for it. For each connection factory, you can choose<br />

Tibco, Sonic or another (“Other”) JMS provider. The DDEditor has knowledge of Tibco<br />

and Sonic and auto fills the class names for each. You can also choose the object<br />

resource type from the JMS Object type drop-down list. For OpenJMS, you must edit<br />

the openjms.xml file to configure connection factories and destination. Refer to “JMS<br />

provider pluggability” on page 221 for details on how to access this file.<br />

If you selected “Other” from the JMS Provider list, look up the JMS vendor's<br />

documentation to ascertain the correct name of its connection factory, topic, or queue<br />

implementation class. In addition, the Main panel will not suggest any properties to fill<br />

in and you will need to use the Properties tab to set any appropriate properties.<br />

Use the Properties tab to add any additional properties not provided on the Main tab.<br />

To create a new JMS object, right-click the root node in the navigation pane and select<br />

“New JMS Object” from the Context Menu.<br />

A dialog box prompts for JNDI name of JMS object to be created. By default, the name<br />

specified corresponds to a location in the Naming Service. If a JNDI name is specified<br />

with a “serial//” prefix, the remaining name following the prefix corresponds to a<br />

location in the Naming Service. Once given, a representation of this JMS object<br />

appears in the tree in the Navigation Pane. Click the representation to open its<br />

configuration panel.<br />

210 BES Developer’s Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!