Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The ZeroMQ binding can be used to connect a channel to an external event stream published by one or more external event sourcesZeroMQ publishers:

To bind a channel to an external source, the ZeroMQ binding is configured with the IP address and port of the event source socket. If more than one source publishes events, multiple addresses can be specified as a space-delimited list:

...

Publishing to External Event Streams

The ZeroMQ binding can also be used to publish events to external ZeroMQ subscribers:

Image Added

To publish events to external subscribers, an IP address and port are specified as part of the ZeroMQ binding configuration:

Code Block
xml
xml
<composite ...>

   <component name="TestProducer">
      <implementation.java class="..."/>
      <producer name="channel" target="TestChannel"/>
   </component>

   <channel name="TestChannel">
      <f3:binding.zeromq addresses="192.0.2.1:12001"/>
   </channel>

</composite>


Serializing Message Payloads