Changeset 75 for trunk/src/main/java/omq/client/proxy/MultiProxymq.java
- Timestamp:
- 07/02/13 11:50:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/omq/client/proxy/MultiProxymq.java
r70 r75 4 4 import java.lang.reflect.Method; 5 5 import java.util.Properties; 6 7 import org.apache.log4j.Logger; 6 8 7 9 import com.rabbitmq.client.AMQP.BasicProperties; … … 20 22 */ 21 23 public class MultiProxymq implements InvocationHandler { 24 private static final Logger logger = Logger.getLogger(MultiProxymq.class.getName()); 22 25 private static final String multi = "multi#"; 23 26 … … 37 40 Properties env = broker.getEnvironment(); 38 41 replyQueueName = env.getProperty(ParameterQueue.RPC_REPLY_QUEUE); 39 exchange = multi + env.getProperty(ParameterQueue.RPC_EXCHANGE);42 exchange = multi + uid; 40 43 serializerType = env.getProperty(ParameterQueue.SERIALIZER_NAME, Serializer.JAVA); 41 44 } … … 55 58 broker.getChannel().basicPublish(exchange, routingkey, props, bytesRequest); 56 59 60 logger.debug("Proxymq: " + uid + " invokes " + methodName + ", corrID" + corrId + ", exchange: " + exchange + ", replyQueue: " + replyQueueName 61 + ", serializerType: " + serializerType + ", multi call: " + request.isMulti() + ", async call: " + request.isAsync()); 62 57 63 return null; 58 64 }
Note: See TracChangeset
for help on using the changeset viewer.