Ignore:
Timestamp:
06/21/13 12:42:25 (11 years ago)
Author:
stoda
Message:

Adding @MultiMethod?
Broker is not a singleton.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/main/java/omq/common/event/EventDispatcher.java

    r53 r54  
    5656                boolean durable = Boolean.parseBoolean(env.getProperty(ParameterQueue.DURABLE_QUEUES, "false"));
    5757                channel.queueDeclare(event_queue, durable, false, false, null);
     58                logger.info("EventDispatcher creating queue: " + event_queue + ", durable: " + durable);
    5859
    5960                // Declare a new consumer
     
    7273        @Override
    7374        public void run() {
     75                logger.info("EventDispatcher started");
    7476                Delivery delivery;
    7577                Event event;
     
    8486
    8587                                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);
    9188
    9289                                // Dispatch it
Note: See TracChangeset for help on using the changeset viewer.