-
Aug 20th, 2012, 02:25 PM
#1
programmatic RabbitTemplate configuration
hi gary:
what would be the java programmatic way to do the following spring-context:
<rabbit:template id="amqpTemplate"
connection-factory="connectionFactory" reply-queue="replies">
<rabbit:reply-listener />
</rabbit:template>
is it enough to do the following:
//Queue queueX
RabbitTemplate template = new RabbitTemplate(connFactory);
//queueX is declared using rabbit admin?
template.setReplyQueue(queueX);
is there anything to be done for setting a reply-listener as in the spring-context config?
regards,
-cogitate
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules