org.logicblaze.lingo.jms.marshall
Class NativeHeaderMarshaller

java.lang.Object
  extended by org.logicblaze.lingo.jms.marshall.NativeHeaderMarshaller
All Implemented Interfaces:
HeaderMarshaller

public class NativeHeaderMarshaller
extends java.lang.Object
implements HeaderMarshaller

Required header marshalling that is internal to Lingo.

Since:
1.5
Author:
James Strachan, Sanjiv Jivan

Constructor Summary
NativeHeaderMarshaller()
           
 
Method Summary
 void addResponseMessageHeaders(javax.jms.ObjectMessage answer, org.springframework.remoting.support.RemoteInvocationResult result, javax.jms.Message requestMessage)
          A strategy for derived classes to allow them to plug in custom header processing for responses
 void appendMessageHeaders(javax.jms.Message message, Requestor requestor, LingoInvocation invocation)
          A strategy method for derived classes to allow them a plugin point to perform custom header processing
 void appendMessageHeaders(javax.jms.Message message, javax.jms.Session session, java.lang.Object value)
           
protected  java.lang.String getStickySessionID()
           
 void handleInvocationHeaders(javax.jms.Message message)
          A strategy method to allow derived classes to process the headers in a special way
 void handleInvocationResultHeaders(javax.jms.Message message)
          A strategy method to allow derived classes to process the headers in a special way
 void handleMessageHeaders(javax.jms.Message message)
          A strategy method to allow derived classes to process the headers in a special way
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeHeaderMarshaller

public NativeHeaderMarshaller()
Method Detail

appendMessageHeaders

public void appendMessageHeaders(javax.jms.Message message,
                                 Requestor requestor,
                                 LingoInvocation invocation)
                          throws javax.jms.JMSException
A strategy method for derived classes to allow them a plugin point to perform custom header processing

Specified by:
appendMessageHeaders in interface HeaderMarshaller
Throws:
javax.jms.JMSException

appendMessageHeaders

public void appendMessageHeaders(javax.jms.Message message,
                                 javax.jms.Session session,
                                 java.lang.Object value)
Specified by:
appendMessageHeaders in interface HeaderMarshaller

getStickySessionID

protected java.lang.String getStickySessionID()

addResponseMessageHeaders

public void addResponseMessageHeaders(javax.jms.ObjectMessage answer,
                                      org.springframework.remoting.support.RemoteInvocationResult result,
                                      javax.jms.Message requestMessage)
                               throws javax.jms.JMSException
A strategy for derived classes to allow them to plug in custom header processing for responses

Specified by:
addResponseMessageHeaders in interface HeaderMarshaller
Throws:
javax.jms.JMSException

handleInvocationHeaders

public void handleInvocationHeaders(javax.jms.Message message)
A strategy method to allow derived classes to process the headers in a special way

Specified by:
handleInvocationHeaders in interface HeaderMarshaller

handleInvocationResultHeaders

public void handleInvocationResultHeaders(javax.jms.Message message)
A strategy method to allow derived classes to process the headers in a special way

Specified by:
handleInvocationResultHeaders in interface HeaderMarshaller

handleMessageHeaders

public void handleMessageHeaders(javax.jms.Message message)
A strategy method to allow derived classes to process the headers in a special way

Specified by:
handleMessageHeaders in interface HeaderMarshaller


Copyright © 2009 LogicBlaze, Inc.. All Rights Reserved.