On Jan 23, 2008, at 5:15 PM, jklcom99 wrote:


I'm using Geronimo 1.1.1.

How do I modify the configuration in Geronimo so that AMQ will listen on ssl://localhost:61616 instead of the default tcp://localhost:61616? Or for that matter adding additional transport connectors that AMQ will listen to?

The relevant configuration info is in var/config/config.xml. In particular:

    <module name="geronimo/activemq-broker/1.1.1/car">
        <gbean name="ActiveMQ.tcp.default">
            <attribute name="host">0.0.0.0</attribute>
            <attribute name="port">61616</attribute>
        </gbean>
    </module>

However, I don't think that ActiveMQ 3.2.1 supported an ssl connector. The following does not work for me...

    <module name="geronimo/activemq-broker/1.1.1/car">
        <gbean name="ActiveMQ.tcp.default">
            <attribute name="protocol">ssl</attribute>
            <attribute name="host">0.0.0.0</attribute>
            <attribute name="port">61616</attribute>
        </gbean>
    </module>

FYI, you could define additional connectors by configuring additional gbeans in the activemq module. e.g.:

<gbean name="ActiveMQ.mynew.tcp" class="org.activemq.gbean.ActiveMQConnectorGBean">
        <attribute name="protocol">tcp</attribute>
        <attribute name="host">localhost</attribute>
        <attribute name="port">16161</attribute>
        <reference name="activeMQContainer">
            <name>ActiveMQ</name>
        </reference>
    </gbean>

I see evidence of SSL transport support in ActiveMQ 4. So, you might need to look at G 2.0 for this capability.

--kevan

Reply via email to