Changeset 47 for trunk/src/main/java/omq/server
- Timestamp:
- 06/18/13 16:51:22 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/omq/server/InvocationThread.java
r44 r47 35 35 Delivery delivery = deliveryQueue.take(); 36 36 37 String serializerType = delivery.getProperties().getType(); 38 37 39 // Deserialize the json 38 Request request = Serializer.deserializeRequest( delivery.getBody(), obj);40 Request request = Serializer.deserializeRequest(serializerType, delivery.getBody(), obj); 39 41 // Log.saveLog("Server-Deserialize", delivery.getBody()); 40 42 … … 66 68 BasicProperties replyProps = new BasicProperties.Builder().appId(obj.getRef()).correlationId(props.getCorrelationId()).build(); 67 69 68 byte[] bytesResponse = Serializer.serialize( resp);70 byte[] bytesResponse = Serializer.serialize(serializerType, resp); 69 71 channel.basicPublish("", props.getReplyTo(), replyProps, bytesResponse); 70 72
Note: See TracChangeset
for help on using the changeset viewer.