activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elliottjf <>
Subject How can I configure an "Exclusive Consumer" queue with a Jencks JCAConnector?
Date Fri, 02 Feb 2007 08:40:51 GMT

I'm attempting to create a Jencks JCAConnector around a
"consumer.exclusive=true" marked queue, but the constructed consumer appears
to not be exclusive.

Has anybody attempted a similar use case or know why this shouldn't work?

I'm using Spring 2.0.2, ActiveMQ 4.1, and Jencks 2.0

Here are the relevant snippits from my Spring appContext.xml

    <bean id="rpcInboundConnector" class="org.jencks.JCAConnector">
        <property name="jcaContainer" ref="jencks"/>
        <property name="activationSpec">
            <bean class="org.apache.activemq.ra.ActiveMQActivationSpec">
                <property name="destination"
                <property name="destinationType" value="javax.jms.Queue"/>
        <property name="ref" value="rpcMqListener"/>

    <bean id="jencks" class="org.jencks.JCAContainer">
        <property name="transactionManager" ref="transactionManager"/>
        <property name="threadPoolSize" value="25"/>
        <property name="resourceAdapter">
            <bean id="activeMQResourceAdapter"
                <property name="serverUrl" value="tcp://lokum:61616"/>

    <bean id="transactionManager"

Any pointers in the right direction would be much appreciated!
 - joe

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message