activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CurtisRopp <>
Subject Do VirtualTopic consumers support wildcards
Date Tue, 08 Feb 2011 00:52:50 GMT

I wanted to put together a configuration for virtual topics that using the
filtering option of camel would allow me to put matching messages in
different topics and if you wanted all messages you could then use wild
cards to consume. 

VirtualTopic.test.transactions -- not api 1 2 3
VirtualTopic.test -- not a transaction 

Then I could setup a consumer to point to 
    queue:Consumer.Mine.VirtualTopic.test> to consume all 
    queue:Consumer.Mine.VirtualTopic.test.transactions.* to consume api's

So far this does not appear to be working and I will dig in a little further
before changing the way I filter.

Any help would be appreciated

------ and for the camel -------
    <camelContext id="camel" xmlns="">
        <route id="virtual">
            <from uri="activemq:queue:Transaction"/>
                <log message="${body}" logName="message"/>
                <to uri="activemq:topic:TransactionTopic"/>
                        <!-- If it's a replication check -->
                        <method bean="repCheckMsgTypeFilter"/>
                                <!-- if it's from API 1 -->
                                <method bean="includeWhenfromApi1"/>
                                <!-- Else it's still a repcheck but not from
OLTP -->
                        <!-- Else it's not a repcheck -->

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

View raw message