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/server/RemoteObject.java

    r53 r54  
    3535
    3636        private static final long serialVersionUID = -1778953938739846450L;
     37        private static final String multi = "multi#";
    3738        private static final Logger logger = Logger.getLogger(RemoteObject.class.getName());
    3839
     
    230231                logger.info("RemoteObject: " + UID + " declaring direct exchange: " + exchange + ", Queue: " + queue);
    231232                channel.exchangeDeclare(exchange, "direct");
     233                channel.exchangeDeclare(multi + exchange, "fanout");
    232234                channel.queueDeclare(queue, durable, false, false, null);
    233235                channel.queueBind(queue, exchange, routingKey);
     236                channel.queueBind(queue, multi + exchange, routingKey);
    234237
    235238                // Declare the event topic fanout
Note: See TracChangeset for help on using the changeset viewer.