[rabbitmq-discuss] no error or exception
Gary Russell
grussell at gopivotal.com
Mon Nov 18 16:44:53 GMT 2013
Right - confirms are provided by an extension to AMQP
http://www.rabbitmq.com/extensions.html
So the method is not available on the general abstraction, you have to use
a RabbitTemplate (which is a Rabbit-specific implementation of the
AmqpTemplate interface).
On Mon, Nov 18, 2013 at 10:36 AM, PATAR, SAGAR <sp345s at att.com> wrote:
> 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> 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>>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131118/c80e87c0/attachment.htm>
More information about the rabbitmq-discuss
mailing list