Skip to content

Commit 54ad2fc

Browse files
author
Simon MacMullen
committed
Rename this thing for consistency and also RabbitMQ-specificness.
1 parent 4de5d1c commit 54ad2fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/rabbitmq/client/RpcClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public void handleDelivery(String consumerTag,
152152
}
153153
}
154154
};
155-
_channel.basicConsume("amq.reply-to", true, consumer);
155+
_channel.basicConsume("amq.rabbitmq.reply-to", true, consumer);
156156
return consumer;
157157
}
158158

@@ -171,7 +171,7 @@ public byte[] primitiveCall(AMQP.BasicProperties props, byte[] message)
171171
_correlationId++;
172172
String replyId = "" + _correlationId;
173173
props = ((props==null) ? new AMQP.BasicProperties.Builder() : props.builder())
174-
.correlationId(replyId).replyTo("amq.reply-consumer").build();
174+
.correlationId(replyId).replyTo("amq.rabbitmq.reply-to").build();
175175
_continuationMap.put(replyId, k);
176176
}
177177
publish(props, message);

0 commit comments

Comments
 (0)