Hi Philip,
I can connect to the qpid broker and browse the queue following the
documentation on the site - my HermesJMS config is rendered below. I
used the trunk version but this can be done with 0.6 as well.
Let me know if any issues,
Cheers,
Sorin
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config auditDirectory="/home/user/Apps/HermesJMS-1.13/bin"
autoBrowseRefreshRate="10" base64EncodeMessages="false"
copyJMSCorrelationID="false" copyJMSExpiration="false"
copyJMSPriority="false" copyJMSProviderProperties="false"
copyJMSReplyTo="false" copyJMSType="false"
correctDropSemantics="false" displayFactoryAdmin="true"
enableJython="true" lastEditedByHermesVersion="v1.13"
lastEditedByUser="user"
lookAndFeel="javax.swing.plaf.metal.MetalLookAndFeel"
maxColumnsInStatisticsTable="10" maxMessagesInBrowserPane="1000"
maxThreadPoolSize="5"
messageFilesDir="/home/user/Apps/HermesJMS-1.13/bin/./messages"
queueBrowseConsumerTimeout="0" scrollMessagesDuringBrowse="true"
selectorImpl="hermes.selector.JAMSELMessageSelectorFactory">
<classpathGroup id="Qpid">
<library
jar="/home/user/qpid-client/qpid-client-0.7/commons-collections-3.2.jar"
noFactories="true"/>
<library
jar="/home/user/qpid-client/qpid-client-0.7/commons-lang-2.2.jar"
noFactories="true"/>
<library
jar="/home/user/qpid-client/qpid-client-0.7/geronimo-jms_1.1_spec-1.0.jar"
noFactories="true"/>
<library
jar="/home/user/qpid-client/qpid-client-0.7/mina-core-1.0.1.jar"
noFactories="true"/>
<library
jar="/home/user/qpid-client/qpid-client-0.7/mina-filter-ssl-1.0.1.jar"
noFactories="true"/>
<library
factories="org.apache.qpid.client.AMQConnectionFactory"
jar="/home/user/qpid-client/qpid-client-0.7/qpid-client-0.7.jar"
noFactories="false"/>
<library
jar="/home/user/qpid-client/qpid-client-0.7/qpid-common-0.7.jar"
noFactories="true"/>
</classpathGroup>
<renderer className="hermes.renderers.DefaultMessageRenderer">
<properties>
<property name="bytesIsString" value="false"/>
<property name="bytesIsObject" value="false"/>
<property name="active" value="true"/>
<property name="messageCache" value="100"/>
<property name="bytesIsObjectBufferSize" value="65536"/>
<property name="toStringOnObjectMessage" value="false"/>
</properties>
</renderer>
<renderer className="hermes.renderers.DefaultMessageHeaderRenderer">
<properties>
<property name="active" value="true"/>
</properties>
</renderer>
<renderer className="hermes.renderers.ToStringMessageRenderer">
<properties>
<property name="active" value="true"/>
</properties>
</renderer>
<renderer className="hermes.renderers.HexMessageRenderer">
<properties>
<property name="active" value="true"/>
</properties>
</renderer>
<renderer className="hermes.renderers.XMLMessageRenderer">
<properties>
<property name="active" value="true"/>
</properties>
</renderer>
<renderer className="hermes.renderers.fix.FIXMessageRenderer">
<properties>
<property name="displayValueWithEnum" value="true"/>
<property name="active" value="true"/>
<property name="messageCache" value="100"/>
<property name="displayHeaderAndTrailer" value="true"/>
</properties>
</renderer>
<factory classpathId="System">
<provider className="hermes.providers.file.FileConnectionFactory">
<properties>
<property name="baseDirectory" value=""/>
</properties>
</provider>
<connection clientID="" connectionPerThread="false">
<session audit="false" id="Files" reconnects="0"
useConsumerForQueueBrowse="false"/>
</connection>
<extension className="hermes.ext.DefaultHermesAdminFactory">
<properties/>
</extension>
</factory>
<factory classpathId="Qpid">
<provider className="org.apache.qpid.client.AMQConnectionFactory">
<properties>
<property name="host" value="localhost"/>
<property name="port" value="5672"/>
<property name="virtualPath" value="/"/>
</properties>
</provider>
<connection clientID="" connectionPerThread="false">
<session audit="false" id="Qpid" reconnects="0"
transacted="true" useConsumerForQueueBrowse="true"/>
</connection>
<destination domain="1" durable="false"
name="example.RequestQueue" password="admin" username="admin"/>
<extension className="hermes.ext.DefaultHermesAdminFactory">
<properties/>
</extension>
</factory>
<factory classpathId="System">
<provider className="hermes.NullConnectionFactory">
<properties/>
</provider>
<connection>
<session id="<new>" reconnects="0" transacted="true"/>
</connection>
<extension className="hermes.ext.DefaultHermesAdminFactory">
<properties/>
</extension>
</factory>
<quickFIX cacheSize="1024" filterSessionMsgTypes="false"/>
</config>
-
From: "Schlesinger, Philip" <[email protected]>
Date: 26 August 2010 17:45:20 GMT+01:00
To: "[email protected]" <[email protected]>
Subject: RE: Cannot monitor QPID queue over HermesJMS
Reply-To: [email protected]
Per Colin, the site admin for HermesJMS:
"I've not tried QPID for ages so sorry can't help right now - have you
also tried the QPID mailing list?"
*sigh*
Sincerely,
Philip Schlesinger
MTCSC, Inc.
Software Engineer II
MCTSSA / TEDS Project
Work: 1 760 725 2172
Fax: 1 760 725 1984
________________________________
From: Marnie McCormack [[email protected]]
Sent: Wednesday, August 25, 2010 8:42 AM
To: [email protected]
Subject: Re: Cannot monitor QPID queue over HermesJMS
Hi Philip,
The docs we have were contributed to us by Colin Crist from HermesJMS - he's
afaik the only person who worke don the Hermes integration with Qpid, though
obv I may stand corrected ...
Marnie
On Wed, Aug 25, 2010 at 4:30 PM, Schlesinger, Philip <[email protected]
wrote:
Hi Marnie,
HermesJMS does not maintain the documentation related to QPID; Apache QPID
does, hence that's why I posted to the QPID JIRA and not to the HermesJMS
forums.
Meanwhile, does anyone else have idea as to how to properly connect
HermesJMS to a QPID queue?
Sincerely,
Philip Schlesinger
MTCSC, Inc.
Software Engineer II
MCTSSA / TEDS Project
Work: 1 760 725 2172
Fax: 1 760 725 1984
________________________________________
From: Marnie McCormack [[email protected]]
Sent: Wednesday, August 25, 2010 2:26 AM
To: [email protected]
Subject: Re: Cannot monitor QPID queue over HermesJMS
Hi,
I'm not sure if the HermesJMS stuff has been updated in quite a while - if
you haven't already, I'd try their forums first to see if it should still
be
compatible:
http://hermesjms.com/forum/
Regards,
Marnie
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org<http://qpid.apache.org/>
Use/Interact: mailto:[email protected]
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]