Thank you for the good pointers. I am only interested in filters for topics.
I created a custom dispatch policy. However, I am not able to configure
properly the activemq.xml file. Following the example from
http://activemq.apache.org/how-do-i-change-dispatch-policy.html I used:
<destinationPolicy>
<policyMap><policyEntries>
<policyEntry topic="COMMAND.>">
<dispatchPolicy>
<myDispatchPolicy />
</dispatchPolicy>
<subscriptionRecoveryPolicy>
<noSubscriptionRecoveryPolicy />
</subscriptionRecoveryPolicy>
</policyEntry>
</policyEntries></policyMap>
</destinationPolicy>
I tried to use <bean id="myDispatchPolicy"
class="filter.MyTopicDispatchPolicy"
xmlns="http://activemq.apache.org/schema/core"/> but I get an error. How
should I configure the file?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Writing-complex-filters-tp3310736p3311149.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.