Class Amqp1Helper
java.lang.Object
org.frankframework.messaging.amqp.Amqp1Helper
-
Method Summary
Modifier and TypeMethodDescriptionstatic MessageconvertAmqpMessageToFFMessage(org.apache.qpid.protonj2.client.Message<?> amqpMessage) static MessagegetMessage(org.apache.qpid.protonj2.client.Connection connection, String address, AddressType addressType) static MessagegetMessage(AmqpConnectionFactoryFactory connectionFactory, String connectionName, String address, AddressType addressType) static MessagegetStreamingMessage(org.apache.qpid.protonj2.client.Connection connection, String address, AddressType addressType) static MessagegetStreamingMessage(AmqpConnectionFactoryFactory connectionFactory, String connectionName, String address, AddressType addressType) static StringsendFFMessage(AmqpConnectionFactoryFactory connectionFactory, String connectionName, String address, AddressType addressType, Message message)
-
Method Details
-
getStreamingMessage
@Nullable public static 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
@Nullable public static 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
@Nonnull public static 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
@Nullable public static 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
@Nullable public static 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
@Nullable public static 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
-