Changeset 77 for trunk/src/test/java
- Timestamp:
- 07/04/13 16:45:14 (11 years ago)
- Location:
- trunk/src/test/java/omq/test
- Files:
-
- 1 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/test/java/omq/test/calculator/CalculatorTest.java
r73 r77 31 31 32 32 // Set host info of rabbimq (where it is) 33 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");34 env.setProperty(ParameterQueue. SERVER_PORT, "5672");33 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 34 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 35 35 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 36 env.setProperty(ParameterQueue. SERIALIZER_NAME, type);37 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");36 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 37 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 38 38 39 39 // Set info about where the message will be sent … … 62 62 63 63 // Get host info of rabbimq (where it is) 64 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");65 env.setProperty(ParameterQueue. SERVER_PORT, "5672");64 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 65 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 66 66 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 67 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");67 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 68 68 69 69 // Set info about where the message will be sent -
trunk/src/test/java/omq/test/event/MessageTest.java
r73 r77 33 33 34 34 // Set host info of rabbimq (where it is) 35 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");36 env.setProperty(ParameterQueue. SERVER_PORT, "5672");35 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 36 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 37 37 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 38 env.setProperty(ParameterQueue. SERIALIZER_NAME, type);39 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");38 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 39 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 40 40 41 41 // Set info about where the message will be sent … … 63 63 64 64 // Get host info of rabbimq (where it is) 65 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");66 env.setProperty(ParameterQueue. SERVER_PORT, "5672");65 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 66 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 67 67 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 68 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");68 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 69 69 70 70 // Set info about where the message will be sent … … 89 89 public void test() throws Exception { 90 90 String expected = "Hello"; 91 92 91 serverProxy.setMessage(expected); 93 92 Thread.sleep(200); -
trunk/src/test/java/omq/test/exception/ExceptionTest.java
r73 r77 30 30 31 31 // Set host info of rabbimq (where it is) 32 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");33 env.setProperty(ParameterQueue. SERVER_PORT, "5672");32 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 33 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 34 34 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 35 env.setProperty(ParameterQueue. SERIALIZER_NAME, type);36 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");35 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 36 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 37 37 38 38 // Set info about where the message will be sent … … 60 60 61 61 // Get host info of rabbimq (where it is) 62 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");63 env.setProperty(ParameterQueue. SERVER_PORT, "5672");62 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 63 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 64 64 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 65 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");65 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 66 66 67 67 // Set info about where the message will be sent -
trunk/src/test/java/omq/test/faultTolerance/FaultToleranceTest.java
r73 r77 31 31 32 32 // Set host info of rabbimq (where it is) 33 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");34 env.setProperty(ParameterQueue. SERVER_PORT, "5672");33 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 34 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 35 35 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 36 env.setProperty(ParameterQueue. SERIALIZER_NAME, type);37 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");36 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 37 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 38 38 39 39 // Set info about where the message will be sent … … 68 68 69 69 // Get host info of rabbimq (where it is) 70 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");71 env.setProperty(ParameterQueue. SERVER_PORT, "5672");70 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 71 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 72 72 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 73 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");73 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 74 74 75 75 // Set info about where the message will be sent -
trunk/src/test/java/omq/test/multiProcess/MultiProcessTest.java
r73 r77 29 29 30 30 // Set host info of rabbimq (where it is) 31 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");32 env.setProperty(ParameterQueue. SERVER_PORT, "5672");31 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 32 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 33 33 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 34 env.setProperty(ParameterQueue. SERIALIZER_NAME, type);35 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");34 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 35 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 36 36 37 37 // Set info about where the message will be sent … … 59 59 60 60 // Get host info of rabbimq (where it is) 61 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");62 env.setProperty(ParameterQueue. SERVER_PORT, "5672");61 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 62 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 63 63 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 64 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");64 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 65 65 66 66 // Set info about where the message will be sent -
trunk/src/test/java/omq/test/observer/ObserverTest.java
r73 r77 32 32 33 33 // Set host info of rabbimq (where it is) 34 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");35 env.setProperty(ParameterQueue. SERVER_PORT, "5672");34 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 35 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 36 36 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 37 env.setProperty(ParameterQueue. SERIALIZER_NAME, type);38 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");37 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 38 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 39 39 40 40 // Set info about where the message will be sent … … 62 62 63 63 // Get host info of rabbimq (where it is) 64 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");65 env.setProperty(ParameterQueue. SERVER_PORT, "5672");64 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 65 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 66 66 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 67 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");67 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 68 68 69 69 // Set info about where the message will be sent -
trunk/src/test/java/omq/test/serializer/CalculatorTest.java
r73 r77 24 24 25 25 // Set host info of rabbimq (where it is) 26 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");27 env.setProperty(ParameterQueue. SERVER_PORT, "5672");26 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 27 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 28 28 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 29 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");29 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 30 30 31 31 // Set info about where the message will be sent … … 48 48 49 49 // Get host info of rabbimq (where it is) 50 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");51 env.setProperty(ParameterQueue. SERVER_PORT, "5672");50 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 51 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 52 52 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 53 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");53 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 54 54 55 55 // Set info about where the message will be sent -
trunk/src/test/java/omq/test/stopBroker/StopBrokerTest.java
r73 r77 28 28 29 29 // Set host info of rabbimq (where it is) 30 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");31 env.setProperty(ParameterQueue. SERVER_PORT, "5672");30 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 31 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 32 32 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 33 env.setProperty(ParameterQueue. SERIALIZER_NAME, type);34 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");33 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 34 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 35 35 36 36 // Set info about where the message will be sent … … 60 60 61 61 // Get host info of rabbimq (where it is) 62 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");63 env.setProperty(ParameterQueue. SERVER_PORT, "5672");62 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 63 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 64 64 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 65 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");65 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 66 66 67 67 // Set info about where the message will be sent -
trunk/src/test/java/omq/test/stopBroker/UnbindTest.java
r54 r77 18 18 19 19 // Get host info of rabbimq (where it is) 20 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");21 env.setProperty(ParameterQueue. SERVER_PORT, "5672");20 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 21 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 22 22 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 23 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");23 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 24 24 25 25 // Set info about where the message will be sent -
trunk/src/test/java/omq/test/temporal/ProvaTest.java
r73 r77 30 30 31 31 // Get host info of rabbimq (where it is) 32 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");33 env.setProperty(ParameterQueue. SERVER_PORT, "5672");32 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 33 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 34 34 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 35 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");35 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 36 36 37 37 // Set info about where the message will be sent … … 56 56 57 57 // Set host info of rabbimq (where it is) 58 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");59 env.setProperty(ParameterQueue. SERVER_PORT, "5672");58 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 59 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 60 60 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 61 env.setProperty(ParameterQueue. SERIALIZER_NAME, type);62 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");61 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 62 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 63 63 64 64 // Set info about where the message will be sent -
trunk/src/test/java/omq/test/workspace/WorkspaceTest.java
r75 r77 39 39 40 40 // Set host info of rabbimq (where it is) 41 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");42 env.setProperty(ParameterQueue. SERVER_PORT, "5672");41 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 42 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 43 43 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 44 env.setProperty(ParameterQueue. SERIALIZER_NAME, type);45 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");44 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 45 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 46 46 47 47 // Set info about where the message will be sent … … 69 69 70 70 // Get host info of rabbimq (where it is) 71 env.setProperty(ParameterQueue. SERVER_HOST, "127.0.0.1");72 env.setProperty(ParameterQueue. SERVER_PORT, "5672");71 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 72 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 73 73 env.setProperty(ParameterQueue.DURABLE_QUEUES, "false"); 74 env.setProperty(ParameterQueue.ENABLE COMPRESSION, "false");74 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 75 75 76 76 // Set info about where the message will be sent
Note: See TracChangeset
for help on using the changeset viewer.