Skip to content
业余布道师 edited this page May 31, 2018 · 9 revisions

Consumer config like this

<!-- Message Consumer -->
<bean id="messageConsumer" class="org.darkphoenixs.compatible.MQConsumerDemo">
        <!-- Optional for ConsumerFactory -->
        <property name="consumerKey" value="XXX"/>
</bean>

consumerKey : the consumer key. (Optional for ConsumerFactory)

The config is consumer examples above, You can extends MQConsumerAdapter to program your consumer. Other configs see the Configuration wiki.