Ignore:
Timestamp:
10/08/13 10:49:46 (11 years ago)
Author:
stoda
Message:

0.5.6
Synchronized channel and reopening when they are closed

Location:
trunk/src/main/java/omq/client/proxy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/main/java/omq/client/proxy/MultiProxymq.java

    r83 r98  
    5555
    5656                byte[] bytesRequest = serializer.serialize(serializerType, request);
    57                 broker.getChannel().basicPublish(exchange, routingkey, props, bytesRequest);
     57                broker.publishMessge(exchange, routingkey, props, bytesRequest);
    5858
    5959                logger.debug("Proxymq: " + uid + " invokes " + methodName + ", corrID" + corrId + ", exchange: " + exchange + ", replyQueue: " + replyQueueName
  • trunk/src/main/java/omq/client/proxy/Proxymq.java

    r84 r98  
    165165                // Publish the message
    166166                byte[] bytesRequest = serializer.serialize(serializerType, request);
    167                 broker.getChannel().basicPublish(exchange, routingkey, props, bytesRequest);
     167                broker.publishMessge(exchange, routingkey, props, bytesRequest);
    168168                logger.debug("Proxymq: " + uid + " invokes '" + request.getMethod() + "' , corrID: " + corrId + ", exchange: " + exchange + ", replyQueue: "
    169169                                + replyQueueName + ", serializerType: " + serializerType + ", multi call: " + request.isMulti() + ", async call: " + request.isAsync()
Note: See TracChangeset for help on using the changeset viewer.