[rabbitmq-discuss] no error or exception

PATAR, SAGAR sp345s at att.com
Mon Nov 18 15:36:43 GMT 2013


Below are the jar's I am using .. the version is 1.2.0.RELEASE ..

spring-amqp-1.2.0.RELEASE.jar
spring-rabbit-1.2.0.RELEASE.jar

org.springframework.amqp.core. AmqpTemplate  .. doesn't seems to have a send() method which takes CorrelationData  ..
but the RabbitTemplate has the method ..

From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Gary Russell
Sent: Friday, November 15, 2013 3:42 PM
To: Discussions about RabbitMQ
Subject: Re: [rabbitmq-discuss] no error or exception

Which version were you using? This was added in 1.1.0, released in May 2012.

You must still have an incorrect spring-rabbit jar on the classpath - I am looking at the code in the 1.2.0 jar and it's clearly there.

On Fri, Nov 15, 2013 at 3:00 PM, PATAR, SAGAR <sp345s at att.com<mailto:sp345s at att.com>> wrote:
Thanks..
I was dot using 1.2.0.RELEASE vesion of spring-rabbit and spring-amqp  libraries and so was not able to see those options ..
Now I was able to configure  the confirm-callback .. BUT for some reason
The spring-rabbit (http://docs.spring.io/spring-amqp/api/org/springframework/amqp/rabbit/core/RabbitTemplate.html)
Supports send<http://docs.spring.io/spring-amqp/api/org/springframework/amqp/rabbit/core/RabbitTemplate.html#send(java.lang.String,%20java.lang.String,%20org.springframework.amqp.core.Message,%20org.springframework.amqp.rabbit.support.CorrelationData)>(String<http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true> exchange, String<http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true> routingKey, Message<http://docs.spring.io/spring-amqp/api/org/springframework/amqp/core/Message.html> message, CorrelationData<http://docs.spring.io/spring-amqp/api/org/springframework/amqp/rabbit/support/CorrelationData.html> correlationData)

But the spring-amqp jar's doesn't  has this method call ..


<<SNIP>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131118/565546fe/attachment.htm>


More information about the rabbitmq-discuss mailing list