public final class ZeroMq extends Object
Modifier and Type | Method and Description |
---|---|
static ZeroMqMessageProducerSpec |
inboundChannelAdapter(org.zeromq.ZContext context)
Create an instance of
ZeroMqMessageProducerSpec for the provided ZContext . |
static ZeroMqMessageProducerSpec |
inboundChannelAdapter(org.zeromq.ZContext context,
org.zeromq.SocketType socketType)
|
static ZeroMqMessageHandlerSpec |
outboundChannelAdapter(org.zeromq.ZContext context,
String connectUrl)
Create an instance of
ZeroMqMessageHandlerSpec for the provided ZContext and connection URL. |
static ZeroMqMessageHandlerSpec |
outboundChannelAdapter(org.zeromq.ZContext context,
String connectUrl,
org.zeromq.SocketType socketType)
Create an instance of
ZeroMqMessageHandlerSpec for the provided ZContext , connection URL
and SocketType . |
static ZeroMqChannelSpec |
pubSubZeroMqChannel(org.zeromq.ZContext context)
Create an instance of
ZeroMqChannelSpec in pub/sub mode based on the provided ZContext . |
static ZeroMqChannelSpec |
zeroMqChannel(org.zeromq.ZContext context)
Create an instance of
ZeroMqChannelSpec based on the provided ZContext . |
public static ZeroMqChannelSpec zeroMqChannel(org.zeromq.ZContext context)
ZeroMqChannelSpec
based on the provided ZContext
.context
- the ZContext
to use.public static ZeroMqChannelSpec pubSubZeroMqChannel(org.zeromq.ZContext context)
ZeroMqChannelSpec
in pub/sub mode based on the provided ZContext
.context
- the ZContext
to use.public static ZeroMqMessageHandlerSpec outboundChannelAdapter(org.zeromq.ZContext context, String connectUrl)
ZeroMqMessageHandlerSpec
for the provided ZContext
and connection URL.context
- the ZContext
to use.connectUrl
- the URL to connect a ZeroMq socket to.public static ZeroMqMessageHandlerSpec outboundChannelAdapter(org.zeromq.ZContext context, String connectUrl, org.zeromq.SocketType socketType)
ZeroMqMessageHandlerSpec
for the provided ZContext
, connection URL
and SocketType
.context
- the ZContext
to use.connectUrl
- the URL to connect a ZeroMq socket to.socketType
- the SocketType
for ZeroMq socket.public static ZeroMqMessageProducerSpec inboundChannelAdapter(org.zeromq.ZContext context)
ZeroMqMessageProducerSpec
for the provided ZContext
.context
- the ZContext
to use.public static ZeroMqMessageProducerSpec inboundChannelAdapter(org.zeromq.ZContext context, org.zeromq.SocketType socketType)
context
- the ZContext
to use.socketType
- the SocketType
for ZeroMq socket.