Declare the GroupInfoProcessor Bean
Declare a new bean of type GroupInfoProcessor
and modify the workflow
to route the message through the GroupInfoProcessor bean.
Procedure
-
Edit
/opt/mtx/conf/mtx_notifier_camel.xml
and add the following:<!-- EXTENSION --> <bean id="sampleGroupInfoProcessor" class="com.sample.nf.camel.GroupInfoProcessor" />
-
Modify the workflow to route the message through the
GroupInfoProcessor
bean. - Save and close the file.
Results
GroupInfoProcessor
bean is added to the Notification Framework classpath. Note: For versions earlier than 5210, you can set the file locations by
modifying the
loader.path
property in the
/etc/default/mtx_notifier file:
export MTX_NOTIFIER_CAMEL_START_ARGS="-j -Dloader.path=/opt/mtx/notifier_camel/classes,/opt/mtx/notifier_camel/lib"