"bela" wrote : [
| I wasn't aware Ovidiu has added ObjectMsg support yet. Are you using serialization
or externalization ? You mentioned you have ca 1-2K worth of data/msg ?
| Bela
I implemented it myself just to get things running locally with my copy. There may be
a more optimal way of implementing this but all I did was add a hook with the
SessionImpl and wrote the ObjectMessageImpl ad hoc so I could send messages of a
realistic size.
package sljms;
import org.apache.log4j.Logger;
import javax.jms.ObjectMessage;
import javax.jms.JMSException;
import javax.jms.Message;
import java.io.Serializable;
class ObjectMessageImpl extends MessageImpl implements ObjectMessage, Serializable {
private static final Logger log = Logger.getLogger(ObjectMessageImpl.class);
private Serializable _object;
public Serializable getObject() throws JMSException {
return _object;
}
public void setObject(Serializable object) throws JMSException {
_object = object;
}
}
<a
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827456#3827456">View
the original post</a>
<a
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827456>Reply
to the post</a>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user