Class Amqp1Helper
java.lang.Object
org.frankframework.messaging.amqp.Amqp1Helper
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull MessageconvertAmqpMessageToFFMessage(@NonNull org.apache.qpid.protonj2.client.Message<?> amqpMessage) static @Nullable MessagegetMessage(@NonNull org.apache.qpid.protonj2.client.Connection connection, @NonNull String address, @NonNull AddressType addressType) static @Nullable MessagegetMessage(@NonNull AmqpConnectionFactoryFactory connectionFactory, @NonNull String connectionName, @NonNull String address, @NonNull AddressType addressType) static @Nullable MessagegetStreamingMessage(@NonNull org.apache.qpid.protonj2.client.Connection connection, @NonNull String address, @NonNull AddressType addressType) static @Nullable MessagegetStreamingMessage(@NonNull AmqpConnectionFactoryFactory connectionFactory, @NonNull String connectionName, @NonNull String address, @NonNull AddressType addressType) static @Nullable StringsendFFMessage(@NonNull AmqpConnectionFactoryFactory connectionFactory, @NonNull String connectionName, @NonNull String address, @NonNull AddressType addressType, @NonNull Message message)
-
Method Details
-
getStreamingMessage
public static @Nullable Message getStreamingMessage(@NonNull AmqpConnectionFactoryFactory connectionFactory, @NonNull String connectionName, @NonNull String address, @NonNull AddressType addressType) throws org.apache.qpid.protonj2.client.exceptions.ClientException, IOException - Throws:
org.apache.qpid.protonj2.client.exceptions.ClientExceptionIOException
-
getStreamingMessage
public static @Nullable Message getStreamingMessage(@NonNull org.apache.qpid.protonj2.client.Connection connection, @NonNull String address, @NonNull AddressType addressType) throws org.apache.qpid.protonj2.client.exceptions.ClientException, IOException - Throws:
org.apache.qpid.protonj2.client.exceptions.ClientExceptionIOException
-
convertAmqpMessageToFFMessage
public static @NonNull Message convertAmqpMessageToFFMessage(@NonNull org.apache.qpid.protonj2.client.Message<?> amqpMessage) throws IOException, org.apache.qpid.protonj2.client.exceptions.ClientException - Throws:
IOExceptionorg.apache.qpid.protonj2.client.exceptions.ClientException
-
getMessage
public static @Nullable Message getMessage(@NonNull AmqpConnectionFactoryFactory connectionFactory, @NonNull String connectionName, @NonNull String address, @NonNull AddressType addressType) throws org.apache.qpid.protonj2.client.exceptions.ClientException, IOException - Throws:
org.apache.qpid.protonj2.client.exceptions.ClientExceptionIOException
-
getMessage
public static @Nullable Message getMessage(@NonNull org.apache.qpid.protonj2.client.Connection connection, @NonNull String address, @NonNull AddressType addressType) throws org.apache.qpid.protonj2.client.exceptions.ClientException, IOException - Throws:
org.apache.qpid.protonj2.client.exceptions.ClientExceptionIOException
-
sendFFMessage
public static @Nullable String sendFFMessage(@NonNull AmqpConnectionFactoryFactory connectionFactory, @NonNull String connectionName, @NonNull String address, @NonNull AddressType addressType, @NonNull Message message) throws org.apache.qpid.protonj2.client.exceptions.ClientException, IOException - Throws:
org.apache.qpid.protonj2.client.exceptions.ClientExceptionIOException
-