Questions tagged [spring-integration-amqp]

73 questions
0
votes
1 answer

RabbitMQ Outbound gateway using java configuration

any example reference of RabbitMQ Outbound Gateway to post messages to rabbitmq cluster, I am looking for Java configuration with Spring Boot
0
votes
1 answer

How to trigger a functionality after RabbitMQ retry max attempts are over? (Spring Integration - RabbitMQ Listener)

I want to trigger an email, after RabbitMQ Listener retrials are over and still if the process of handle failed. retry logic is working with below code. But how to trigger the functionality (email trigger) once the max retrial attempts are…
0
votes
1 answer

Why are ID and TIMESTAMP declared as transient headers in Spring Integration?

I'm trying to send/receive messages via Spring Integration's AMQP in/outbound adapters and I'm facing this problem. After finding Gary's answer here, I started to investigate if my app sets a message ID correctly. In fact, it's taken care of…
0
votes
1 answer

concurrent consumers in context to spring integration

In spring integration application, I am using concurrent consumers to consume and process the multiple messages at a time. In my application, I configured all beans to a singleton. I am assuming if I am going to parallelize the processing by using…
0
votes
0 answers

Understanding context switching in Spring cloud stream+AMQP

We are using spring-integration-amqp-4.3.10.RELEASE,spring-cloud-stream-1.3.0.RELEASE and spring-cloud-starter-stream-rabbit in our project.We tried to accomplish graceful shutdown of our microservices by having shutdown-timeout placed in our…
ajain k
  • 21
  • 2
0
votes
1 answer

spring integration amqp listener transacted

What is difference between acknowledgeMode.AUTO and acknowledgeMode.MANUAL when is channelTransacted = true on message listener container? I understand that when I want to use acknowledgeMode.MANUAL with channelTransacted=false, the listener must…
0
votes
1 answer

Example of RabbitMQ with RPC in Spring Integration

After make a search about different ways to implement it, im stuck. What im looking for is to realize this example (https://www.rabbitmq.com/tutorials/tutorial-six-spring-amqp.html) with Spring Integration. I had found interesting post as this…
0
votes
1 answer

Don't ack RabbitMQ messages until IntegrationFlow service activator method returns succesfully?

I have an integration flow defined like this: IntegrationFlows.from(Amqp.inboundAdapter(connectionFactory, "queueName") .id("id") .autoStartup(autoStartup) .concurrentConsumers(2) …
Johan
  • 37,479
  • 32
  • 149
  • 237
0
votes
1 answer

Equivalent Java Config for spring messaging xml config

I am trying to implements spring batch remote chunking using rabbitMQ. I following this link what are the equivalent java config for this
first_time_user
  • 417
  • 1
  • 5
  • 16
0
votes
1 answer

Why does a AmqpChannelFactoryBean with Jackson2JsonMessageConverter not store type?

I'm trying to use Spring integration with RabbitMQ, using RabbitMQ backed Spring integration channels. (Which seems almost not documented for some reason, is this new?). To do this, it seems I can use AmqpChannelFactoryBean to create a channel. To…
bluemind
  • 1,591
  • 11
  • 16
0
votes
0 answers

Spring Integration AMQP replies with a DirectExchnage

I have some client code that calls Spring Integration via a call to a DirectExchange, e.g. Map result = (Map) rabbitTemplate.convertSendAndReceive("rpc", "KEY", map); I can see that the integration flow is…
0
votes
1 answer

How to put a msg to queue as json format using Spring Integration AMQP

Currently I'm trying to put a message to queue with json format. Below it's my code snippet but it does not work. return IntegrationFlows.from(Amqp.inboundAdapter(connectionFactory, NOTE_INCOMING_QUEUE) .concurrentConsumers(2)) …
0
votes
1 answer

How to properly handle an amqp msg then send it to another queue in Spring Integratin DSL

I want to process an AMQP message then send it to another queue for further processing. I'm using Spring integration DSL to archive it as below, @Bean public IntegrationFlow ocr(ConnectionFactory connectionFactory, AmqpTemplate amqpTemplate, …
Kane
  • 8,035
  • 7
  • 46
  • 75
1 2 3 4
5