- Timestamp:
- 07/10/13 13:14:30 (11 years ago)
- Location:
- trunk/src
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/omq/client/listener/ResponseListener.java
r82 r84 120 120 121 121 String reply_queue = env.getProperty(ParameterQueue.RPC_REPLY_QUEUE); 122 boolean durable = Boolean.parseBoolean(env.getProperty(ParameterQueue.DURABLE_QUEUES, "false")); 122 boolean durable = Boolean.parseBoolean(env.getProperty(ParameterQueue.DURABLE_QUEUE, "false")); 123 boolean exclusive = Boolean.parseBoolean(env.getProperty(ParameterQueue.EXCLUSIVE_QUEUE, "true")); 124 boolean autoDelete = Boolean.parseBoolean(env.getProperty(ParameterQueue.AUTO_DELETE_QUEUE, "true")); 123 125 124 126 int ttl = Integer.parseInt(env.getProperty(ParameterQueue.MESSAGE_TTL_IN_QUEUES, "-1")); … … 128 130 } 129 131 130 channel.queueDeclare(reply_queue, durable, false, false, args); 131 logger.info("ResponseListener creating queue: " + reply_queue + ", durable: " + durable + "TTL: " + (ttl > 0 ? ttl : "not set")); 132 if (reply_queue == null) { 133 reply_queue = channel.queueDeclare().getQueue(); 134 env.setProperty(ParameterQueue.RPC_REPLY_QUEUE, reply_queue); 135 } else { 136 channel.queueDeclare(reply_queue, durable, exclusive, autoDelete, args); 137 } 138 logger.info("ResponseListener creating queue: " + reply_queue + ", durable: " + durable + ", exclusive: " + exclusive + ", autoDelete: " + autoDelete 139 + ", TTL: " + (ttl > 0 ? ttl : "not set")); 132 140 133 141 // Declare a new consumer -
trunk/src/main/java/omq/client/proxy/Proxymq.java
r83 r84 92 92 // this.channel = Broker.getChannel(); 93 93 env = broker.getEnvironment(); 94 exchange = env.getProperty(ParameterQueue.RPC_EXCHANGE );94 exchange = env.getProperty(ParameterQueue.RPC_EXCHANGE, ""); 95 95 multiExchange = multi + uid; 96 96 replyQueueName = env.getProperty(ParameterQueue.RPC_REPLY_QUEUE); -
trunk/src/main/java/omq/common/util/ParameterQueue.java
r83 r84 9 9 public class ParameterQueue { 10 10 11 /* *12 * Set the proxy's serializer method11 /* 12 * Connection info 13 13 */ 14 public static String PROXY_SERIALIZER = "omq.serializer";15 14 16 15 /** 17 * Set whether the messages must be compressed or not16 * Set the clients username 18 17 */ 19 public static String ENABLE_COMPRESSION = "omq.compression"; 18 public static String USER_NAME = "omq.username"; 19 20 /** 21 * Set the clients password 22 */ 23 public static String USER_PASS = "omq.pass"; 20 24 21 25 /** … … 30 34 31 35 /** 32 * Set the clients username36 * Set if the system will use ssl 33 37 */ 34 public static String USER_NAME = "omq.username";38 public static String ENABLE_SSL = "omq.enable_ssl"; 35 39 36 40 /** 37 * Set the clients password 41 * Set how many time we have to wait to retry the connection with the server 42 * when this goes down 38 43 */ 39 public static String USER_PASS = "omq.pass"; 44 public static String RETRY_TIME_CONNECTION = "omq.retry_connection"; 45 46 /* 47 * Queues info 48 */ 40 49 41 50 /** … … 51 60 52 61 /** 53 * Set if the queues must be durable. The queues won't be lost when rabbitmq54 * crashes if DURABLE_QUEUES is set trues.55 */56 public static String DURABLE_QUEUES = "omq.durable_queue";57 58 /**59 * The MESSAGE_TTL_IN_QUEUES controls for how long a message published to60 * the queues can live before it is discarded. A message that has been in61 * the queue for longer than the configured TTL is said to be dead.62 *63 * This property must be a non-negative 32 bit integer (0 <= n <= 2^32-1),64 * describing the TTL period in milliseconds.65 */66 public static String MESSAGE_TTL_IN_QUEUES = "omq.message_ttl_queue";67 68 /**69 * Set if the system will use ssl70 */71 public static String ENABLE_SSL = "omq.enable_ssl";72 73 /**74 * Set how many time we have to wait to retry the connection with the server75 * when this goes down76 */77 public static String RETRY_TIME_CONNECTION = "omq.retry_connection";78 79 /**80 * Set how many threads will be created to invoke remote methods81 */82 public static String NUM_THREADS = "omq.num_threads";83 84 /**85 62 * Set the specific name of a multi queue in a specific object 86 63 */ 87 64 public static String MULTI_QUEUE_NAME = "omq.multi_queue_name"; 65 66 /** 67 * Set if a queue must be durable. The queue won't be lost when RabbitMQ 68 * crashes if DURABLE_QUEUE is set true. 69 */ 70 public static String DURABLE_QUEUE = "omq.durable_queue"; 88 71 89 72 /** … … 99 82 100 83 /** 84 * Set if a queue must be durable. The queue won't be lost when RabbitMQ 85 * crashes if DURABLE_QUEUE is set true. 86 */ 87 public static String DURABLE_MQUEUE = "omq.durable_mqueue"; 88 89 /** 90 * Set if server will delete a queue when is no longer in use 91 */ 92 public static String AUTO_DELETE_MQUEUE = "omq.auto_mdelete"; 93 94 /** 95 * Set if we are declaring an exclusive queue (restricted to this 96 * connection) 97 */ 98 public static String EXCLUSIVE_MQUEUE = "omq.exclusive_mqueue"; 99 100 /** 101 * The MESSAGE_TTL_IN_QUEUES controls for how long a message published to 102 * the queues can live before it is discarded. A message that has been in 103 * the queue for longer than the configured TTL is said to be dead. 104 * 105 * This property must be a non-negative 32 bit integer (0 <= n <= 2^32-1), 106 * describing the TTL period in milliseconds. 107 */ 108 public static String MESSAGE_TTL_IN_QUEUES = "omq.message_ttl_queue"; 109 110 /* 111 * Message info 112 */ 113 114 /** 115 * Set the proxy's serializer method 116 */ 117 public static String PROXY_SERIALIZER = "omq.serializer"; 118 119 /** 120 * Set whether the messages must be compressed or not 121 */ 122 public static String ENABLE_COMPRESSION = "omq.compression"; 123 124 /** 101 125 * Set 1 to indicate the message will be nonpersistent and 2 to indicate it 102 126 * will be persistent 103 127 */ 104 128 public static String DELIVERY_MODE = "omq.delivery_mode"; 129 130 /* 131 * ObjectMQ info 132 */ 133 134 /** 135 * Set how many threads will be created to invoke remote methods 136 */ 137 public static String NUM_THREADS = "omq.num_threads"; 105 138 106 139 /** -
trunk/src/main/java/omq/server/RemoteObject.java
r83 r84 39 39 40 40 private String UID; 41 private String multiQueue;42 41 private Properties env; 43 42 private transient Broker broker; 43 private transient String multiQueue; 44 44 private transient RemoteWrapper remoteWrapper; 45 45 private transient Map<String, List<Class<?>>> params; … … 77 77 this.broker = broker; 78 78 this.UID = reference; 79 this.multiQueue = UID + System.currentTimeMillis();80 79 this.env = env; 81 80 … … 262 261 */ 263 262 private void startQueues() throws Exception { 263 // Start channel 264 channel = broker.getNewChannel(); 265 266 /* 267 * Default queue, Round Robin behaviour 268 */ 269 264 270 // Get info about which exchange and queue will use 265 String exchange = env.getProperty(ParameterQueue.RPC_EXCHANGE );271 String exchange = env.getProperty(ParameterQueue.RPC_EXCHANGE, ""); 266 272 String queue = UID; 267 273 String routingKey = UID; 268 274 269 // Multi info 270 String multiExchange = multi + UID; 271 if (env.getProperty(ParameterQueue.MULTI_QUEUE_NAME) != null) { 272 multiQueue = env.getProperty(ParameterQueue.MULTI_QUEUE_NAME); 273 } 274 275 boolean durable = Boolean.parseBoolean(env.getProperty(ParameterQueue.DURABLE_QUEUES, "false")); 275 // RemoteObject default queue 276 boolean durable = Boolean.parseBoolean(env.getProperty(ParameterQueue.DURABLE_QUEUE, "false")); 276 277 boolean exclusive = Boolean.parseBoolean(env.getProperty(ParameterQueue.EXCLUSIVE_QUEUE, "false")); 277 278 boolean autoDelete = Boolean.parseBoolean(env.getProperty(ParameterQueue.AUTO_DELETE_QUEUE, "false")); 278 279 279 // Start channel280 channel = broker.getNewChannel();281 282 280 // Declares and bindings 283 logger.info("RemoteObject: " + UID + " declaring direct exchange: " + exchange + ", Queue: " + queue + ", Durable: " + durable + ", Exclusive: " 281 if (!exchange.equalsIgnoreCase("")) { // Default exchange case 282 channel.exchangeDeclare(exchange, "direct"); 283 } 284 channel.queueDeclare(queue, durable, exclusive, autoDelete, null); 285 if (!exchange.equalsIgnoreCase("")) { // Default exchange case 286 channel.queueBind(queue, exchange, routingKey); 287 } 288 logger.info("RemoteObject: " + UID + " declared direct exchange: " + exchange + ", Queue: " + queue + ", Durable: " + durable + ", Exclusive: " 284 289 + exclusive + ", AutoDelete: " + autoDelete); 285 channel.exchangeDeclare(exchange, "direct"); 286 channel.queueDeclare(queue, durable, exclusive, autoDelete, null); 287 channel.queueBind(queue, exchange, routingKey); 288 289 logger.info("RemoteObject: " + UID + " declaring fanout exchange: " + multiExchange + ", Queue: " + multiQueue + ", Durable: " + durable 290 + ", Exclusive: " + exclusive + ", AutoDelete: " + autoDelete); 290 291 /* 292 * Multi queue, exclusive per each instance 293 */ 294 295 // Get info about the multiQueue 296 String multiExchange = multi + UID; 297 multiQueue = env.getProperty(ParameterQueue.MULTI_QUEUE_NAME); 298 299 // Multi queue (exclusive queue per remoteObject) 300 boolean multiDurable = Boolean.parseBoolean(env.getProperty(ParameterQueue.DURABLE_MQUEUE, "false")); 301 boolean multiExclusive = Boolean.parseBoolean(env.getProperty(ParameterQueue.EXCLUSIVE_MQUEUE, "true")); 302 boolean multiAutoDelete = Boolean.parseBoolean(env.getProperty(ParameterQueue.AUTO_DELETE_MQUEUE, "true")); 303 304 // Declares and bindings 291 305 channel.exchangeDeclare(multiExchange, "fanout"); 292 channel.queueDeclare(multiQueue, durable, exclusive, autoDelete, null); 306 if (multiQueue == null) { 307 multiQueue = channel.queueDeclare().getQueue(); 308 } else { 309 channel.queueDeclare(multiQueue, multiDurable, multiExclusive, multiAutoDelete, null); 310 } 293 311 channel.queueBind(multiQueue, multiExchange, ""); 312 logger.info("RemoteObject: " + UID + " declared fanout exchange: " + multiExchange + ", Queue: " + multiQueue + ", Durable: " + multiDurable 313 + ", Exclusive: " + multiExclusive + ", AutoDelete: " + multiAutoDelete); 314 315 /* 316 * Consumer 317 */ 294 318 295 319 // Declare a new consumer -
trunk/src/test/java/omq/test/calculator/CalculatorTest.java
r83 r84 38 38 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 39 39 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 40 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");40 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 41 41 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 42 42 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); … … 69 69 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 70 70 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 71 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");71 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 72 72 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 73 73 -
trunk/src/test/java/omq/test/event/MessageTest.java
r83 r84 40 40 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 41 41 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 42 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");42 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 43 43 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 44 44 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); … … 70 70 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 71 71 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 72 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");72 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 73 73 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 74 74 -
trunk/src/test/java/omq/test/exception/ExceptionTest.java
r83 r84 37 37 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 38 38 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 39 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");39 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 40 40 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 41 41 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); … … 67 67 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 68 68 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 69 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");69 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 70 70 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 71 71 -
trunk/src/test/java/omq/test/faultTolerance/FaultToleranceTest.java
r83 r84 38 38 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 39 39 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 40 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");40 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 41 41 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 42 42 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); … … 75 75 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 76 76 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 77 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");77 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 78 78 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 79 79 -
trunk/src/test/java/omq/test/multiProcess/MultiProcessTest.java
r83 r84 36 36 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 37 37 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 38 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");38 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 39 39 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 40 40 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); … … 66 66 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 67 67 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 68 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");68 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 69 69 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 70 70 -
trunk/src/test/java/omq/test/observer/ObserverTest.java
r83 r84 39 39 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 40 40 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 41 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");41 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 42 42 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 43 43 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); … … 69 69 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 70 70 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 71 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");71 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 72 72 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 73 73 -
trunk/src/test/java/omq/test/persistence/PersistentTest.java
r83 r84 48 48 msgImplProps = new Properties(); 49 49 msgImplProps.setProperty(ParameterQueue.RPC_EXCHANGE, "rpc_exchange"); 50 msgImplProps.setProperty(ParameterQueue.DURABLE_QUEUE S, "true");50 msgImplProps.setProperty(ParameterQueue.DURABLE_QUEUE, "true"); 51 51 msgImplProps.setProperty(ParameterQueue.EXCLUSIVE_QUEUE, "false"); 52 52 msgImplProps.setProperty(ParameterQueue.AUTO_DELETE_QUEUE, "false"); 53 53 msgImplProps.setProperty(ParameterQueue.MULTI_QUEUE_NAME, "multiMessageQueue"); 54 msgImplProps.setProperty(ParameterQueue.DURABLE_MQUEUE, "true"); 55 msgImplProps.setProperty(ParameterQueue.EXCLUSIVE_MQUEUE, "true"); 56 msgImplProps.setProperty(ParameterQueue.AUTO_DELETE_MQUEUE, "false"); 54 57 msgImplProps.setProperty(ParameterQueue.DELIVERY_MODE, "1"); 58 msgImplProps.setProperty(ParameterQueue.RETRY_TIME_CONNECTION, "2000"); 55 59 56 60 /* … … 65 69 clientProps.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 66 70 clientProps.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 67 clientProps.setProperty(ParameterQueue.DURABLE_QUEUE S, "true");71 clientProps.setProperty(ParameterQueue.DURABLE_QUEUE, "true"); 68 72 clientProps.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 69 73 clientProps.setProperty(ParameterQueue.RPC_EXCHANGE, "rpc_exchange"); 70 74 clientProps.setProperty(ParameterQueue.RPC_REPLY_QUEUE, "persistent_message_reply_queue"); 75 clientProps.setProperty(ParameterQueue.DURABLE_QUEUE, "true"); 76 clientProps.setProperty(ParameterQueue.EXCLUSIVE_QUEUE, "true"); 77 clientProps.setProperty(ParameterQueue.AUTO_DELETE_QUEUE, "false"); 71 78 clientProps.setProperty(ParameterQueue.DELIVERY_MODE, "2"); 79 clientProps.setProperty(ParameterQueue.RETRY_TIME_CONNECTION, "2000"); 72 80 // TODO msgProps -> rpc_exchange, serializer type and delivery mode 73 81 } -
trunk/src/test/java/omq/test/python/Server.java
r83 r84 24 24 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 25 25 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 26 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");26 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 27 27 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 28 28 -
trunk/src/test/java/omq/test/serializer/CalculatorTest.java
r83 r84 31 31 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 32 32 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 33 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");33 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 34 34 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 35 35 … … 55 55 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 56 56 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 57 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");57 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 58 58 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 59 59 -
trunk/src/test/java/omq/test/stopBroker/StopBrokerTest.java
r83 r84 35 35 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 36 36 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 37 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");37 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 38 38 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 39 39 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); … … 67 67 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 68 68 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 69 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");69 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 70 70 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 71 71 -
trunk/src/test/java/omq/test/stopBroker/UnbindTest.java
r83 r84 25 25 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 26 26 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 27 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");27 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 28 28 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 29 29 -
trunk/src/test/java/omq/test/temporal/ProvaTest.java
r83 r84 37 37 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 38 38 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 39 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");39 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 40 40 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 41 41 … … 63 63 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 64 64 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 65 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");65 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 66 66 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 67 67 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); -
trunk/src/test/java/omq/test/workspace/WorkspaceTest.java
r83 r84 46 46 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 47 47 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 48 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");48 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 49 49 env.setProperty(ParameterQueue.PROXY_SERIALIZER, type); 50 50 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); … … 76 76 env.setProperty(ParameterQueue.RABBIT_HOST, "127.0.0.1"); 77 77 env.setProperty(ParameterQueue.RABBIT_PORT, "5672"); 78 env.setProperty(ParameterQueue.DURABLE_QUEUE S, "false");78 env.setProperty(ParameterQueue.DURABLE_QUEUE, "false"); 79 79 env.setProperty(ParameterQueue.ENABLE_COMPRESSION, "false"); 80 80
Note: See TracChangeset
for help on using the changeset viewer.