AMQP-1 added walk-thru of stock trading sample

This commit is contained in:
Mark Fisher
2010-07-15 23:55:55 -04:00
committed by Dave Syer
parent 57eb5cd576
commit 508260d029

View File

@@ -52,7 +52,7 @@ public class RabbitStockServiceGateway extends RabbitGatewaySupport implements S
message.getMessageProperties().setCorrelationId(UUID.randomUUID().toString().getBytes("UTF-8"));
}
catch (UnsupportedEncodingException e) {
e.printStackTrace();
throw new AmqpException(e);
}
return message;
}