users@glassfish.java.net

JMS how to set maximum number of producers?

From: <glassfish_at_javadesktop.org>
Date: Tue, 14 Aug 2007 04:38:31 PDT

Hi,

How can I set physical destination property like maxNumProducers? I know how to do it through [b]imqadmin[/b] console or with [b]imqcmd[/b]. But than the setting is only valid until i restart the server or restart JMS consumer.
Is it possible to set this property through API or when creating JMS resource (maybe with jms.resource.property?)??
I've created jms resource with ant file from Java EE tutorial:

<target name="create-topic"
    description="create JMS topic">
    <antcall target="create-jms-resource">
        <param name="jms.restype" value="javax.jms.Topic" />
        <param name="jms.resource.property" value="Name=PhysicalTopic" />
        <param name="jms.resource.name" value="jms/Topic" />
    </antcall>
  </target>

Thanks for help.

Marko
[Message sent by forum member 'teki' (teki)]

http://forums.java.net/jive/thread.jspa?messageID=230791