Ignore:
Timestamp:
10/19/13 13:20:44 (11 years ago)
Author:
stoda
Message:

Error detected: there should be only one thread listening to the multiexchange queue.
TODO: change this. Make refactor in the invocationthread. Change remotethreadpool to achieve this behavior.
AInvocationThread <- InvocationTHread

<- MultiInvocationTHread

Location:
branches/supervisor/src/test/java
Files:
12 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/supervisor/src/test/java/omq/test/supervisor/SleepTest.java

    r106 r107  
    2525                env1.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1");
    2626                env1.setProperty(ParameterQueue.RABBIT_PORT, "5672");
    27                 env1.setProperty(ParameterQueue.MIN_POOL_THREADS, "4");
    28                 env1.setProperty(ParameterQueue.MAX_POOL_THREADS, "4");
     27                env1.setProperty(ParameterQueue.MIN_POOL_THREADS, "1");
     28                env1.setProperty(ParameterQueue.MAX_POOL_THREADS, "1");
    2929
    3030                Broker broker = new Broker(env1);
     
    3737                env2.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1");
    3838                env2.setProperty(ParameterQueue.RABBIT_PORT, "5672");
    39                 env2.setProperty(ParameterQueue.MIN_POOL_THREADS, "4");
    40                 env2.setProperty(ParameterQueue.MAX_POOL_THREADS, "4");
     39                env2.setProperty(ParameterQueue.MIN_POOL_THREADS, "1");
     40                env2.setProperty(ParameterQueue.MAX_POOL_THREADS, "1");
    4141
    4242                Broker broker2 = new Broker(env2);
Note: See TracChangeset for help on using the changeset viewer.