- Timestamp:
- 09/27/13 17:50:41 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/supervisor/src/main/java/omq/server/RemoteObject.java
r84 r91 38 38 private static final Logger logger = Logger.getLogger(RemoteObject.class.getName()); 39 39 40 pr ivateString UID;41 pr ivateProperties env;42 pr ivatetransient Broker broker;43 pr ivatetransient String multiQueue;44 pr ivatetransient RemoteWrapper remoteWrapper;45 pr ivatetransient Map<String, List<Class<?>>> params;46 pr ivatetransient Channel channel;47 pr ivatetransient QueueingConsumer consumer;48 pr ivatetransient boolean killed = false;40 protected String UID; 41 protected Properties env; 42 protected transient Broker broker; 43 protected transient String multiQueue; 44 protected transient RemoteWrapper remoteWrapper; 45 protected transient Map<String, List<Class<?>>> params; 46 protected transient Channel channel; 47 protected transient QueueingConsumer consumer; 48 protected transient boolean killed = false; 49 49 50 50 private static final Map<String, Class<?>> primitiveClasses = new HashMap<String, Class<?>>(); … … 317 317 */ 318 318 319 boolean autoAck = false; 320 319 321 // Declare a new consumer 320 322 consumer = new QueueingConsumer(channel); 321 channel.basicConsume(queue, true, consumer);322 channel.basicConsume(multiQueue, true, consumer);323 channel.basicConsume(queue, autoAck, consumer); 324 channel.basicConsume(multiQueue, autoAck, consumer); 323 325 } 324 326
Note: See TracChangeset
for help on using the changeset viewer.