Changeset 54 for trunk/src/main/java/omq/server
- Timestamp:
- 06/21/13 12:42:25 (12 years ago)
- Location:
- trunk/src/main/java/omq/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/omq/server/InvocationThread.java
r53 r54 44 44 // Deserialize the json 45 45 Request request = serializer.deserializeRequest(serializerType, delivery.getBody(), obj); 46 // Log.saveLog("Server-Deserialize", delivery.getBody());47 48 46 String methodName = request.getMethod(); 49 47 String requestID = request.getId(); … … 77 75 byte[] bytesResponse = serializer.serialize(serializerType, resp); 78 76 channel.basicPublish("", props.getReplyTo(), replyProps, bytesResponse); 79 80 // Log.saveLog("Server-Serialize", bytesResponse);77 logger.debug("Publish sync response -> Object: " + obj.getRef() + ", method: " + methodName + " corrID: " + requestID + " replyTo: " 78 + props.getReplyTo()); 81 79 } 82 80 -
trunk/src/main/java/omq/server/RemoteObject.java
r53 r54 35 35 36 36 private static final long serialVersionUID = -1778953938739846450L; 37 private static final String multi = "multi#"; 37 38 private static final Logger logger = Logger.getLogger(RemoteObject.class.getName()); 38 39 … … 230 231 logger.info("RemoteObject: " + UID + " declaring direct exchange: " + exchange + ", Queue: " + queue); 231 232 channel.exchangeDeclare(exchange, "direct"); 233 channel.exchangeDeclare(multi + exchange, "fanout"); 232 234 channel.queueDeclare(queue, durable, false, false, null); 233 235 channel.queueBind(queue, exchange, routingKey); 236 channel.queueBind(queue, multi + exchange, routingKey); 234 237 235 238 // Declare the event topic fanout
Note: See TracChangeset
for help on using the changeset viewer.