クラス ZeroMq

java.lang.ObjectSE
org.springframework.integration.zeromq.dsl.ZeroMq

public final class ZeroMq extends ObjectSE
ZeroMq コンポーネント DSL のファクトリクラス。
導入:
5.4
作成者:
Artem Bilan, Alessio Matricardi
  • メソッドの詳細

    • zeroMqChannel

      public static ZeroMqChannelSpec zeroMqChannel(org.zeromq.ZContext context)
      提供された ZContext に基づいて ZeroMqChannelSpec のインスタンスを作成します。
      パラメーター:
      context - 使用する ZContext
      戻り値:
      スペック。
    • pubSubZeroMqChannel

      public static ZeroMqChannelSpec pubSubZeroMqChannel(org.zeromq.ZContext context)
      提供された ZContext に基づいて、pub/ サブモードで ZeroMqChannelSpec のインスタンスを作成します。
      パラメーター:
      context - 使用する ZContext
      戻り値:
      スペック。
    • outboundChannelAdapter

      public static ZeroMqMessageHandlerSpec outboundChannelAdapter(org.zeromq.ZContext context, StringSE connectUrl)
      提供された ZContext および接続 URL の ZeroMqMessageHandlerSpec のインスタンスを作成します。
      パラメーター:
      context - 使用する ZContext
      connectUrl - ZeroMq ソケットを接続する URL。
      戻り値:
      スペック。
    • outboundChannelAdapter

      public static ZeroMqMessageHandlerSpec outboundChannelAdapter(org.zeromq.ZContext context, int port)
      提供された ZContext とバインディングポートの ZeroMqMessageHandlerSpec のインスタンスを作成します。
      パラメーター:
      context - 使用する ZContext
      port - ZeroMq ソケットを TCP 経由でバインドするポート。
      戻り値:
      スペック。
      導入:
      6.4
    • outboundChannelAdapter

      public static ZeroMqMessageHandlerSpec outboundChannelAdapter(org.zeromq.ZContext context, SupplierSE<StringSE> connectUrl)
      提供された ZContext および接続 URL サプライヤーの ZeroMqMessageHandlerSpec のインスタンスを作成します。
      パラメーター:
      context - 使用する ZContext
      connectUrl - ZeroMq ソケットを接続する URL のサプライヤー。
      戻り値:
      スペック。
      導入:
      5.5.9
    • outboundChannelAdapter

      public static ZeroMqMessageHandlerSpec outboundChannelAdapter(org.zeromq.ZContext context, StringSE connectUrl, org.zeromq.SocketType socketType)
      提供された ZContext、接続 URL、SocketTypeZeroMqMessageHandlerSpec のインスタンスを作成します。
      パラメーター:
      context - 使用する ZContext
      connectUrl - ZeroMq ソケットを接続する URL。
      socketType - ZeroMq ソケット用の SocketType
      戻り値:
      スペック。
    • outboundChannelAdapter

      public static ZeroMqMessageHandlerSpec outboundChannelAdapter(org.zeromq.ZContext context)
      提供された ZContextZeroMqMessageHandlerSpec インスタンスを作成します。作成されたソケットはランダムなポートにバインドされます。
      パラメーター:
      context - 使用する ZContext
      戻り値:
      スペック。
      導入:
      6.4
    • outboundChannelAdapter

      public static ZeroMqMessageHandlerSpec outboundChannelAdapter(org.zeromq.ZContext context, org.zeromq.SocketType socketType)
      提供された ZContext および SocketTypeZeroMqMessageHandlerSpec インスタンスを作成します。作成されたソケットはランダムなポートにバインドされます。
      パラメーター:
      context - 使用する ZContext
      socketType - ZeroMq ソケット用の SocketType
      戻り値:
      スペック。
      導入:
      6.4
    • outboundChannelAdapter

      public static ZeroMqMessageHandlerSpec outboundChannelAdapter(org.zeromq.ZContext context, int port, org.zeromq.SocketType socketType)
      提供された ZContext、バインディングポート、および SocketType に対して ZeroMqMessageHandlerSpec のインスタンスを作成します。
      パラメーター:
      context - 使用する ZContext
      port - ZeroMq ソケットを TCP 経由でバインドするポート。
      socketType - ZeroMq ソケット用の SocketType
      戻り値:
      スペック。
      導入:
      6.4
    • outboundChannelAdapter

      public static ZeroMqMessageHandlerSpec outboundChannelAdapter(org.zeromq.ZContext context, SupplierSE<StringSE> connectUrl, org.zeromq.SocketType socketType)
      提供された ZContext、接続 URL サプライヤー、SocketTypeZeroMqMessageHandlerSpec のインスタンスを作成します。
      パラメーター:
      context - 使用する ZContext
      connectUrl - ZeroMq ソケットを接続する URL のサプライヤー。
      socketType - ZeroMq ソケット用の SocketType
      戻り値:
      スペック。
      導入:
      5.5.9
    • inboundChannelAdapter

      public static ZeroMqMessageProducerSpec inboundChannelAdapter(org.zeromq.ZContext context)
      提供された ZContextZeroMqMessageProducerSpec のインスタンスを作成します。
      パラメーター:
      context - 使用する ZContext
      戻り値:
      スペック。
    • inboundChannelAdapter

      public static ZeroMqMessageProducerSpec inboundChannelAdapter(org.zeromq.ZContext context, org.zeromq.SocketType socketType)
      提供された ZContext および SocketTypeZeroMqMessageProducerSpec のインスタンスを作成します。
      パラメーター:
      context - 使用する ZContext
      socketType - ZeroMq ソケット用の SocketType
      戻り値:
      スペック。