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.

Sonic<br />

Configuring Auto Queue Creation for Sonic<br />

Note<br />

If you would like to enable auto queue creation in Sonic, you must modify the naming<br />

service of the partition in the partition's partition.xml file to set the jns.auto-createqueues<br />

property as follows:<br />

<br />

- <br />

<br />

<br />

With the jns.auto-create-queues property set, when the DAR is deployed, it will create<br />

the queues.<br />

BES uses a utility for auto queue creation. However, this utility uses the default values<br />

for the JMS <strong>server</strong> in the deployed DAR file. If your JMS <strong>server</strong> is different from the<br />

default one, you can configure Sonic to auto create queues by editing the partition<strong>server</strong>.config<br />

file located in /var/domains/base/configurations/<br />

/mos//adm/properties/partition-<strong>server</strong>.config.<br />

The changes to this file will apply to the specific partition only.<br />

1 Switch to the Installation view in the BES Management console by clicking on the<br />

Installation icon in the leftmost pane.<br />

2 Navigate to the partition for which you want to make the change.<br />

3 Click on the partition name. The General Properties page for the partition will open<br />

in the right pane. Click on the Files tab at the bottom of the right pane. This will open<br />

the partition-<strong>server</strong>.config file in the right pane.<br />

4 Scroll to the end of the file and enter the following for only the properties you want to<br />

change:<br />

vmprop =<br />

You can do this for any of the following 5 properties:<br />

Property<br />

sonicmq.domainName<br />

sonicmq.brokerURL<br />

sonicmq.user<br />

sonicmq.pwd<br />

sonicmq.brokerName<br />

Default Value<br />

domain1<br />

tcp://localhost:2506<br />

Administrator<br />

Administrator<br />

/Brokers/Broker1<br />

5 Save your edits by clicking on the Save button.<br />

6 Restart the partition.<br />

Chapter 24: JMS provider pluggability 227

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

Saved successfully!

Ooh no, something went wrong!