Changeset 54 for trunk/src/main/java/omq/common/event
- Timestamp:
- 06/21/13 12:42:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/omq/common/event/EventDispatcher.java
r53 r54 56 56 boolean durable = Boolean.parseBoolean(env.getProperty(ParameterQueue.DURABLE_QUEUES, "false")); 57 57 channel.queueDeclare(event_queue, durable, false, false, null); 58 logger.info("EventDispatcher creating queue: " + event_queue + ", durable: " + durable); 58 59 59 60 // Declare a new consumer … … 72 73 @Override 73 74 public void run() { 75 logger.info("EventDispatcher started"); 74 76 Delivery delivery; 75 77 Event event; … … 84 86 85 87 logger.info("Event received -> Topic: " + event.getTopic() + "CorrId: " + event.getCorrId()); 86 // Log.saveLog("Client-Deserialize", delivery.getBody());87 88 // long timeEnd = (new Date()).getTime();89 // Log.saveTimeSendRequestLog("Client-time-response",90 // event.getCorrId(), "Event!", timeEnd);91 88 92 89 // Dispatch it
Note: See TracChangeset
for help on using the changeset viewer.