com.infoengine.messaging
Class MsgProcessor
java.lang.Object
com.infoengine.messaging.MsgProcessor
- Direct Known Subclasses:
- InfoEngine, MapMessage, RPCSoapMessage, StreamMessage, TextMessage, Unknown
- public abstract class MsgProcessor
- extends Object
This class should be extended by message processors
Message Processors are java classes that can take a JMS Session,
an IeRequest and turn these into a
JMS Message object to be published or queued.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
verbose
boolean verbose
serviceName
String serviceName
BOOLEAN
static final int BOOLEAN
- See Also:
- Constant Field Values
BYTE
static final int BYTE
- See Also:
- Constant Field Values
BYTES
static final int BYTES
- See Also:
- Constant Field Values
CHAR
static final int CHAR
- See Also:
- Constant Field Values
DOUBLE
static final int DOUBLE
- See Also:
- Constant Field Values
FLOAT
static final int FLOAT
- See Also:
- Constant Field Values
INT
static final int INT
- See Also:
- Constant Field Values
LONG
static final int LONG
- See Also:
- Constant Field Values
SHORT
static final int SHORT
- See Also:
- Constant Field Values
STRING
static final int STRING
- See Also:
- Constant Field Values
types
static final String[] types
get_type_params
static final String[] get_type_params
put_type_params
static final String[] put_type_params
MsgProcessor
public MsgProcessor()
ie2jms
public abstract javax.jms.Message ie2jms(IeRequest r,
javax.jms.Session s,
Webject w)
throws Exception
- Throws:
Exception
jms2ie
public abstract IeRequest jms2ie(javax.jms.Message m,
Webject w)
throws Exception
- Throws:
Exception
isGetTypeParam
boolean isGetTypeParam(Param p)
getGetType
int getGetType(Param p)
isPutTypeParam
boolean isPutTypeParam(Param p)
getPutType
int getPutType(Param p)
toBoolean
boolean toBoolean(String bool)
message2InputStream
protected IeMultipartInputStream message2InputStream(javax.jms.Message m,
boolean multipart)
throws Exception
- turn a message into an IeMultipartInputStream
- Returns:
- IeMultipartInputStream containing data
- Throws:
Exception