|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Marshaller
| Method Summary | |
|---|---|
javax.jms.Message |
createObjectMessage(javax.jms.Session session,
java.lang.Object value)
Creates a message for a Java Object for when distributing objects in collections |
javax.jms.Message |
createRequestMessage(Requestor requestor,
LingoInvocation invocation)
Creates the request message |
javax.jms.Message |
createResponseMessage(javax.jms.Session session,
org.springframework.remoting.support.RemoteInvocationResult result,
javax.jms.Message requestMessage)
Creates the response message |
org.springframework.remoting.support.RemoteInvocationResult |
extractInvocationResult(javax.jms.Message message)
Extracts the invocation result from the response message |
java.lang.Object |
readMessage(javax.jms.Message message)
Extracts the body from the given JMS message |
org.springframework.remoting.support.RemoteInvocation |
readRemoteInvocation(javax.jms.Message message)
Read a RemoteInvocation from the given JMS message |
| Method Detail |
|---|
javax.jms.Message createRequestMessage(Requestor requestor,
LingoInvocation invocation)
throws javax.jms.JMSException
requestor - invocation - the remote invocation to send
javax.jms.JMSException - if the message could not be created
javax.jms.Message createResponseMessage(javax.jms.Session session,
org.springframework.remoting.support.RemoteInvocationResult result,
javax.jms.Message requestMessage)
throws javax.jms.JMSException
session - the JMS session to useresult - the result invocationrequestMessage - the original request message
javax.jms.JMSException - if the message could not be created
org.springframework.remoting.support.RemoteInvocationResult extractInvocationResult(javax.jms.Message message)
throws javax.jms.JMSException
message - the response message
javax.jms.JMSException - is thrown if a JMS exception occurs
org.springframework.remoting.support.RemoteInvocation readRemoteInvocation(javax.jms.Message message)
throws javax.jms.JMSException
message - current JMS message
javax.jms.JMSException
javax.jms.Message createObjectMessage(javax.jms.Session session,
java.lang.Object value)
throws javax.jms.JMSException
javax.jms.JMSException
java.lang.Object readMessage(javax.jms.Message message)
throws javax.jms.JMSException
javax.jms.JMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||