A message broker for communicating via file shares.
Message broker config structure (sample):
<message_broker_config xmlns="http://schemas.mactor.org/framework">
<message_broker name="MactorDemoFileBroker"
archive_consumed_messages="true" archive_dead_letter_messages="true"
archive_path="/tmp/archive_fileshare"
message_read_interval_seconds="1" message_read_limit="40"
broker_class="org.mactor.brokers.file.FileMessageBroker">
<value name="PostAction">RENAME</value> <!--RENAME|DELETE-->
<channel name="OutgoingOrder">
<value name="dir">/tmp/mactor/file_channels/OutgoingOrder</value>
<value name="suffix">.xml</value>
</channel>
<channel name="IncomingOrderStatus">
<value name="dir">/tmp/mactor/file_channels/IncomingOrderStatus</value>
<value name="filter_pattern">.xml</value>
</channel>
</message_broker>
</message_broker_config>
author: Lars Ivar Almli See Also: MessageBroker |