|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.transport.base.BaseUtils
org.apache.synapse.transport.amqp.AMQPUtils
public class AMQPUtils
| Constructor Summary | |
|---|---|
AMQPUtils()
|
|
| Method Summary | |
|---|---|
static List<AMQPBinding> |
getBindingsForService(AxisService service)
Get the AMQP destination used by this service |
InputStream |
getInputStream(Object message)
Get an InputStream to the message payload |
static BaseUtils |
getInstace()
|
byte[] |
getMessageBinaryPayload(Object message)
Get the message payload as a byte[], if the message is a non-SOAP, non-XML, binary message |
String |
getMessageTextPayload(Object message)
Get the message payload as a String, if the message is a non-SOAP, non-XML, plain text message |
String |
getProperty(Object message,
String property)
Get a String property from a message |
static Map |
getTransportHeaders(org.apache.qpidity.api.Message message)
Extract transport level headers for JMS from the given message into a Map |
| Methods inherited from class org.apache.synapse.transport.base.BaseUtils |
|---|
getEnvelope, getMessageFormatter, getMinPollTime, getOMOutputFormat, getQNameFromString, handleException, handleException, isUsingTransport, isValid, markServiceAsFaulty, setSOAPEnvelope |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AMQPUtils()
| Method Detail |
|---|
public static BaseUtils getInstace()
public InputStream getInputStream(Object message)
BaseUtils
getInputStream in class BaseUtilsmessage - Object
public byte[] getMessageBinaryPayload(Object message)
BaseUtils
getMessageBinaryPayload in class BaseUtilsmessage - the message Object
public String getMessageTextPayload(Object message)
BaseUtils
getMessageTextPayload in class BaseUtilsmessage - the message Object
public String getProperty(Object message,
String property)
BaseUtils
getProperty in class BaseUtilsmessage - the message objectproperty - property name
public static Map getTransportHeaders(org.apache.qpidity.api.Message message)
message - the JMS message
public static List<AMQPBinding> getBindingsForService(AxisService service)
service - the Axis Service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||