List of usage examples for javax.jms BytesMessage writeLong
void writeLong(long value) throws JMSException;
From source file:com.fiorano.openesb.application.application.OutputPortInstance.java
public void toMessage(BytesMessage bytesMessage) throws JMSException { super.toMessage(bytesMessage); bytesMessage.writeInt(priority);//w ww.j av a 2s .co m bytesMessage.writeUTF(publisherConfigName); bytesMessage.writeLong(timeToLive); applicationContextTransformation.toMessage(bytesMessage); }