How do I create an object store on JMQ 2.0?

I have a question about creating an object store in JMQ 2.0 using the

administration tool.

The documentation doesn't explain it that clearly because it says for

development purposes, you should be able to get away with the default

configuration. The default configuration as far as I can see has no object

store for JNDI lookup.

What I need is an object store that I can connect with using an

InitialContextFactory to the broker URL. I'd like to then use that

Connection to lookup ConnectionFactories (topic and queue).

Again, I thought the documentation would explain all of this, but haven't

been able to find anything. Please advise.

[720 byte] By [christenscreen] at [2007-11-25 8:06:39]
# 1

To answer your question, you can use the 'jmqadmin'

(graphical interface) or 'jmqobjmgr' (command line interface)

to configure administered objects that you store in a

JNDI service provider. This object store has to be set up

in advance which may mean creating a directory if a file store

is used, or setting up an LDAP server.

Here as the basic steps to add administered objects

if you're using the graphical implementation ('jmqadmin'):

1. Set up some sort of object store repository outside the admin

tool (you can use LDAP or create a file system directory).

2. Add an Object Store connection to the repository you

just set up:

- Run 'jmqadmin', click on the tree node "JMQ Object Stores".

- Select Actions->Add Object Store.

- Name this Object Store with a value in "Object Store Label".

- Fill in the values for java.naming.factory.initial

and java.naming.provider.url and any other necessary JNDI values.

- Select OK

3. To add objects to this object store you just set up:

- First make a connection to this store:

Select Actions->Connect to Object Store

- Click on the "Destinations" or "Connection Factories" node

under this object store.

- Click on Actions->Add Destination Object or Add Connection Factory Object

and fill in the values in the dialog.

christenscreen at 2007-7-1 13:56:48 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...