@Override
	public Message toMessage(Session session) throws JMSException {
		BlobMessage message = ((ActiveMQSession) session)
				.createBlobMessage(image);
		setMessageProperties(message);
		message.setJMSType(TYPE);
		return message;
	}