I don't have time to extensively investigate how to create the queues, but
you might find looking at the example of how to create a datasource via jmx
calls useful: it's in 
testsuite/src/main/org/jboss/test/jmx/test/DeployConnectionManagerUnitTestCase.java
as I recall.  Creating queues should be much simpler since you only have
one mbean to create, not 3.  Basically you create the mbean, configure its
attributes by calling setAttributes, and call the create and start
lifecycle operations. This test is a little bit of a mess typographically,
sorry.

It uses the rmi connector rather than html.  Is this a problem?

You might also be able to use the ant jmx task I wrote to call it if you
need a command-line-like way to do this, it's in varia somewhere.

david jencks

On 2002.08.21 13:42:16 -0400 Gary Grobe wrote:
> > What you are doing is definitely not the right
> > way.
> 
>   In 2.4.4 it was the right way  because it's mentioned in the docs. So 
> I'm looking for the equivelant in 3.0.1.
> 
> > Why don't you create the queus in the jboss.jcml?
> 
> I can't put them in the jboss.jcml because 1) this file is not in 3.0.1  
> but I do this in jbossmq-service.xml for queue names I do know, and 2) I 
> don't know the name of certain queues till run-time so I can't prelist 
> them.
> 
> > If you want to dynamically create your queus during runtime
> > then you should read the documentation about how to use the
> > right MBean to create them.
> 
> I did this in 2.4.4 and still use mbeans in 3.0.1 for those queues I 
> create ahead of time, but don't see how that this does create them 
> on-the-fly (dynamically). Are you saying I can use the 2.4.x docs for 
> 3.0 to do this? I was told not. In otherwords, instead of listing the 
> mbeans in the jbossmq-service.xml file, I programatically do this in my 
> clients?
> 
> > Look for the same in JBoss 3.0 and figure how to use this MBean
> remotely
> > with JMX.
> 
> Hince, my posts. I don't see JMX anywhere's in the 3.0 draft.
> 
> Much appreciated.
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to