List of usage examples for javax.jms BytesMessage writeBoolean
void writeBoolean(boolean value) throws JMSException;
From source file:com.fiorano.openesb.application.application.PortInstance.java
public void toMessage(BytesMessage bytesMessage) throws JMSException { super.toMessage(bytesMessage); bytesMessage.writeUTF(appContextAction); bytesMessage.writeUTF(clientID);// w w w. j a v a 2 s . co m bytesMessage.writeInt(destinationType); bytesMessage.writeUTF(destination); bytesMessage.writeUTF(destinationConfigName); bytesMessage.writeUTF(encryptionAlgorithm); bytesMessage.writeUTF(encryptionKey); bytesMessage.writeUTF(initializationVector); bytesMessage.writeBoolean(isMessageFilterSet); bytesMessage.writeUTF(messageFilterConfigName); if (messageFilters == null) { bytesMessage.writeInt(-1); } else { bytesMessage.writeInt(messageFilters.size()); for (Object configKey : messageFilters.keySet()) { bytesMessage.writeUTF((String) configKey); bytesMessage.writeUTF((String) messageFilters.get(configKey)); } } bytesMessage.writeUTF(password); bytesMessage.writeUTF(user); bytesMessage.writeUTF(proxyPassword); bytesMessage.writeUTF(proxyURL); bytesMessage.writeUTF(proxyUser); bytesMessage.writeUTF(securityManager); }