Ignore:
Timestamp:
10/01/13 12:02:41 (11 years ago)
Author:
stoda
Message:

TODO: delete in supervisor
check the code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/supervisor/src/main/java/omq/server/RemoteObject.java

    r91 r92  
    3838        private static final Logger logger = Logger.getLogger(RemoteObject.class.getName());
    3939
    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;
     40        private String UID;
     41        private Properties env;
     42        private transient Broker broker;
     43        private transient String multiQueue;
     44        private transient RemoteWrapper remoteWrapper;
     45        private transient Map<String, List<Class<?>>> params;
     46        private transient Channel channel;
     47        private transient QueueingConsumer consumer;
     48        private transient boolean killed = false;
    4949
    5050        private static final Map<String, Class<?>> primitiveClasses = new HashMap<String, Class<?>>();
     
    254254        }
    255255
     256        public Broker getBroker() {
     257                return broker;
     258        }
     259
    256260        /**
    257261         * This method starts the queues using the information got in the
     
    319323                boolean autoAck = false;
    320324
     325                //TODO see if this is useless
     326                int prefetchCount = 1;
     327                channel.basicQos(prefetchCount);
     328
    321329                // Declare a new consumer
    322330                consumer = new QueueingConsumer(channel);
Note: See TracChangeset for help on using the changeset viewer.