- Timestamp:
- 05/23/13 15:46:29 (11 years ago)
- Location:
- trunk/objectmq/src/omq
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/objectmq/src/omq/client/proxy/Proxymq.java
r19 r20 121 121 // Publish the request 122 122 if (request.isAsync()) { 123 System.out.println("Publish async request -> " + request.getId());123 System.out.println("Publish async request -> " + request.getId()); 124 124 publishAsyncRequest(request); 125 125 return null; 126 126 } else { 127 System.out.println("Publish sync request -> " + request.getId());127 System.out.println("Publish sync request -> " + request.getId()); 128 128 return publishSyncRequest(request, method.getReturnType()); 129 129 } -
trunk/objectmq/src/omq/client/remote/response/ResponseListener.java
r19 r20 60 60 // Get the response with its uid 61 61 uid_request = delivery.getProperties().getCorrelationId(); 62 System.out.println("Response re veived -> " + uid_request);62 System.out.println("Response received -> " + uid_request); 63 63 64 64 // Stores the new response -
trunk/objectmq/src/omq/common/event/EventDispatcher.java
r19 r20 133 133 String queueName = env.getProperty(ParameterQueue.EVENT_REPLY_QUEUE); 134 134 String reference = e.getTopic(); 135 136 System.out.println("EventDispatcher declaring fanout -> " + reference + " Binding with: " + queueName); 137 135 138 channel.exchangeDeclare(reference, "fanout"); 136 139 channel.queueBind(queueName, reference, ""); -
trunk/objectmq/src/omq/server/remote/request/RemoteObject.java
r16 r20 81 81 82 82 // Declares and bindings 83 System.out.println("RemoteObject: " + UID + " declaring direct exchange: " + exchange + ", Queue: " + queue); 83 84 channel.exchangeDeclare(exchange, "direct"); 84 85 channel.queueDeclare(queue, false, false, false, null); … … 86 87 87 88 // Declare the event topic fanout 89 System.out.println("RemoteObject: " + UID + " declaring fanout exchange: " + UID); 88 90 channel.exchangeDeclare(UID, "fanout"); 89 91 … … 101 103 try { 102 104 Delivery delivery = consumer.nextDelivery(); 105 System.out.println("RemoteObject: " + UID + " has received a message"); 103 106 remoteWrapper.notifyDelivery(delivery); 104 107 } catch (InterruptedException i) {
Note: See TracChangeset
for help on using the changeset viewer.