public class AmqpJmsMessageBuilder extends Object
| Constructor and Description |
|---|
AmqpJmsMessageBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static JmsMessage |
createJmsMessage(AmqpConsumer consumer,
org.apache.qpid.proton.message.Message message)
Create a new JmsMessage and underlying JmsMessageFacade that represents the proper
message type for the incoming AMQP message.
|
public static JmsMessage createJmsMessage(AmqpConsumer consumer, org.apache.qpid.proton.message.Message message) throws IOException
consumer - The provider AMQP Consumer instance where this message arrived at.message - The Proton Message object that will be wrapped.IOException - if an error occurs while creating the message objects.Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.