{
ByteBuf result = out.order(ByteOrder.LITTLE_ENDIAN);
LOGGER.debug("Put: {}", message.toString());
GWMessage gwact = message;
int header = gwact.getHeader();
// try retrieve the serialization filter
NettySerializationFilter filter = GWMessageSerializationRegistry.getFilter(gwact.getClass());
if (filter == null)
{
LOGGER.error("Could not find a filter for given message.");
return;