Queue queue = binding.queue;
Long scid = (Long)ref.getMessage().removeHeader(Message.SOURCE_CHANNEL_ID);
Delivery del = queue.handleMove(ref, scid.longValue());
if (del == null)
{
throw new JMSException("Failed to route " + ref + " to " + dest.getName());
}