Changeset 54 for trunk/src/main/java/omq/server/RemoteObject.java
- Timestamp:
- 06/21/13 12:42:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.