return message;
}
case Bytes: {
BytesMessage message = session.createBytesMessage();
byte[] payload = context.getTypeConverter().convertTo(byte[].class, exchange, body);
message.writeBytes(payload);
return message;
}
case Map: {
MapMessage message = session.createMapMessage();
Map payload = context.getTypeConverter().convertTo(Map.class, exchange, body);