com.infoengine.messaging
Class InfoEngine
java.lang.Object
com.infoengine.messaging.MsgProcessor
com.infoengine.messaging.InfoEngine
- public class InfoEngine
- extends MsgProcessor
turn an IeRequest into a message destined for an InfoEngine recipient
If an input stream is found in the request then the request will be turned
into mulipart/form-data and placed in a BytesMessage, any blob data will be
tacked on the end. If no input stream is found then the IeRequest will be
serialized and placed in an ObjectMessage. Appropriate headers will be set
on the message to recipients of these messages know how to decode them.
These outgoing requests are signed to recipients can know they're trusted.
Fields inherited from class com.infoengine.messaging.MsgProcessor |
BOOLEAN, BYTE, BYTES, CHAR, DOUBLE, FLOAT, get_type_params, INT, LONG, put_type_params, serviceName, SHORT, STRING, types, verbose |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InfoEngine
public InfoEngine()
ie2jms
public javax.jms.Message ie2jms(IeRequest in_request,
javax.jms.Session session,
Webject webject)
throws Exception
- Specified by:
ie2jms
in class MsgProcessor
- Throws:
Exception
jms2ie
public IeRequest jms2ie(javax.jms.Message m,
Webject w)
throws Exception
- Specified by:
jms2ie
in class MsgProcessor
- Throws:
Exception