| java.lang.Object org.mactor.brokers.AbstractMessageBroker org.mactor.brokers.http.HttpMessageBroker
HttpMessageBroker | public class HttpMessageBroker extends AbstractMessageBroker (Code) | | A simple message broker that supports posting/receinving XML messages over
HTTP (optionally with a response)
Message broker config structure (sample):
<message_broker_config xmlns="http://schemas.mactor.org/framework">
<message_broker name="DemoHttpBroker"
archive_consumed_messages="true" archive_dead_letter_messages="true"
archive_path="/tmp/archive_http"
message_read_interval_seconds="1" message_read_limit="40"
broker_class="org.mactor.brokers.http.HttpMessageBroker">
<channel name="OutgoingOrder">
<value name="Method">POST</value>
<value name="URL">http://localhost:8877/mactor/deliverOrder</value>
</channel>
<channel name="IncomingOrderStatus">
<value name="Method">POST</value>
<value name="URL">http://localhost:8878/mactor/receiveOrerStatus</value>
</channel>
</message_broker>
</message_broker_config>
author: Lars Ivar Almli See Also: MessageBroker |
HttpMessageBroker | public HttpMessageBroker(MessageBrokerConfig config)(Code) | | |
|
|