Questions tagged [spring-integration-amqp]
73 questions
0
votes
2 answers
Tell Jackson2JsonMessageConverter to use my own class in Amqp.inboundAdapter
Given I have IntegrationFlow and inbound adapter for AMQP queue:
@Bean
public IntegrationFlow readMessagesFlow(
ConnectionFactory rabbitConnectionFactory,
ObjectMapper jacksonObjectMapper) {
return IntegrationFlows.from(
…

Patrik Mihalčin
- 3,341
- 7
- 33
- 68
0
votes
1 answer
Park XML message in invalid format to AMQP parking lot queue
Given I have IntegrationFlow
IntegrationFlows.from(
Amqp.inboundAdapter(rabbitConnectionFactory, QUEUE)
.messageConverter(new MarshallingMessageConverter(xmlMarshaller))
.defaultRequeueRejected(false)
…

Patrik Mihalčin
- 3,341
- 7
- 33
- 68
0
votes
1 answer
Spring Integration reply to Publisher
I have 2 flows implemented in Spring Integration using DSL:
REST -> AMQP -> Consumer -> Service
AMQP -> Consumer -> Service
The first flow is just a HTTP Message Publisher for clients who cannot publish directly to AMQP.
How can I let the…

Nikhil
- 345
- 2
- 13
0
votes
1 answer
RabbitTemplate's setChannelTransacted flag causes message being not delivered to queue
Given I have application with AMQP anonymous queue and fanout exchange:
@Bean
public Queue cacheUpdateAnonymousQueue() {
return new AnonymousQueue();
}
public static final String CACHE_UPDATE_FANOUT_EXCHANGE =…

Patrik Mihalčin
- 3,341
- 7
- 33
- 68
0
votes
0 answers
IntegrationFlow Amqp Channel Adapter is not working in handle()
I am working on the integration flow between two RabbitMQ message brokers.
My IntegrationFlow code is:
@Bean
public IntegrationFlow messageFlow() {
return IntegrationFlows.from(stompInboundChannelAdapter())
…

Mahesh
- 59
- 1
- 7
0
votes
1 answer
How to send message to the rabbitmq queue using spring integration java DSL
I wrote simple sample to read text from console and send it to the rabbitMq server:
@Configuration
@EnableIntegration
@IntegrationComponentScan
public class Config {
@Autowired
private AmqpTemplate amqpTemplate;
@Bean
public…

gstackoverflow
- 36,709
- 117
- 359
- 710
0
votes
1 answer
Spring AMQP Outbound Adapter behavior when exchange not found
I have a spring integration code that connects a JMS listener (that listens to a mq series local queue)
and forwards the message to a rabbitmq (not controlled by me) via a
…

mortada
- 23
- 6
0
votes
0 answers
Spring integration InboundAdapter/OutboundAdapter flow
Am trying to read from RabbitMQ queue using Amqp.InboundAdapter, process it & then push it onto another queue.
So the flow looks like this:
Amqp.InboundAdapter --> service activator --> Amqp.outboundAdapter
But the problem is the processing speed…

user3561281
- 43
- 4
0
votes
1 answer
How to handle errors after message has been handed off to QueueChannel?
I have 10 rabbitMQ queues, called event.q.0, event.q.2, <...>, event.q.9. Each of these queues receive messages routed from event.consistent-hash exchange. I want to build a fault tolerant solution that will consume messages for a specific event in…

Eduardas Kazakas
- 27
- 4
0
votes
1 answer
How do I connect an AWS SQS Inbound Adapter to an AMQP Backed Message Channel?
I have successfully configured via Java an Inbound Channel Adapter for AWS SQS using a direct channel. This project uses a combination of JDBC and RabbitMQ with SQS as the inbound flow for 3 separate queues. I need durable messages so I'm trying…

Jim Hankins
- 1,055
- 1
- 11
- 27
0
votes
1 answer
How to configure a connection to the multiple RabbitMQ nodes?
I can configure the RabbitMQ client connection in two ways:
comma-separated list of IP addresses
host name that is DNS A record with multiple IP addresses
Will RabbitMQ Client connect to another node when the one with which is connected will fail?…

kinjelom
- 6,105
- 3
- 35
- 61
0
votes
1 answer
Spring Cloud Contract - Stub Runner for messaging by using AmqpInboundChannelAdapterSpec
I tried to integrate Spring Cloud Contract Verifier Stub Runner’s messaging module with Spring AMQP. I created SimpleMessageListenerContainer with MessageListener and it works fine.
But I have another approach. I use a AMQP support for Spring…

Bully
- 139
- 1
- 14
0
votes
1 answer
JMS Channel not using multi threading
I am reading a message , transforming it and outputting on the JMS channel. The JMS channel uses a WorkManager Task Executor to read the messages and processes it.
Even though we configured the WorkManager in application server to have 10 threads,…

user3749274
- 31
- 1
- 4
0
votes
1 answer
Spring Batch Integration Timeout in RemoteChunking
I'm trying to configure a RemoteChunking task using Spring Boot, Spring Batch and Spring Integrations.
I have configured an activeMQ server and I start configuring Spring Batch following the official docs…

Jose A. Matarán
- 1,044
- 3
- 13
- 33
0
votes
1 answer
Spring Integration: TaskExecutor and MaxConcurrentConsumers on AmqpInboundChannelAdapter
My Spring Integration app consumes messages from RabbitMQ transforms them to SOAP message and does web service request.
It is possible to get many (10 – 50) messages per second from the queue.
Or after application restart there could be many…

Roman
- 101
- 7