2020欧洲杯时间表

All Questions

Filter by
Sorted by
Tagged with
2
votes
1answer
30 views

Spring AMQP Set prefetchCount on Queue Bean

How do I set the prefetchCount on for this queue consumer? @Bean public Queue eventQueue(AmqpAdmin amqpAdmin) { Queue queue = QueueBuilder.durable(EVENT_QUEUE_NAME) ... ....
0
votes
1answer
20 views

Spring AMQP RabbitListener adjust auto reconnect configuration

I'm trying to better understand the RabbitListener behavior when the broker goes down & when its brought back up. I have setup a rabbit in a docker container over localhost:6672 and created a ...
1
vote
1answer
28 views

Spring AMQP RabbitListener to connect with 2 Rabbit Clusters

I have one listener method annotated with @RabbitListener currently its configured to listen from 1 rabbit cluster. Now i have another rabbit cluster(cluster2) having the same queue/exchange/routing ...
0
votes
0answers
31 views

Spring Boot push notifications to specific user

I have micro-service architecture and there is event based communication. In background I have RabbitMQ and I listen multiple event types like this: @Slf4j @Component @RabbitListener(queues = "${app....
0
votes
1answer
22 views

Custom RabbitMessageListner Throws Wrapped Exception

I have custom MessageListener from the custom lib import org.springframework.amqp.core.* public class Subscriber { private SimpleMessageListenerContainer simpleMessageListenerContainer; ...
0
votes
1answer
26 views

CachingConnectionFactory confirm type simple vs correlated

What is difference between CachingConnectionFactory confirm type simple vs correlated.
0
votes
1answer
12 views

Spring AMQP Get Existing Queue Names and Argument

We have a queue in production where message TTL was set via application. Now we want to change message TTL and attach policy via rabbit CTL than setting within application. Snippet: Map<String,...
0
votes
1answer
31 views

Spring AMQP - How to confirm that a message is delivered and Routed successfully?

I am looking for a way to delivery a message, and once the message is delivered (and routed) successfully, i need to perform some operations. I have enabled publisher confirms and returns by: spring....
1
vote
1answer
40 views

Spring Cloud Stream - Functions - How to manually acknowledge rabbitmq message?

I'm using a spring cloud stream with rabbitbinder. Using a @StreamListener, I could manually acknowledge rabbitmq messages by having Channel and deliveryTag injected into the method as follows: @...
0
votes
1answer
35 views

RabbitMQ+SpringAMPQ: Receiving multiple queues in SimpleMessageListenerContainer

I am currently learning a bit about RabbitMQ + SpringAMQ and I was trying to make my SimpleMessageListenerContainer to be able to read messages delivered to my two queues, but only one is receiving it....
0
votes
1answer
37 views

Update from Spring Boot 1.5.x to 2.2.x RabbitMQ doesn't declare bindings with a list

I used to declare queues, exchanges and bindings in one of my configuration files as follows: @EnableRabbit @Configuration public class MyRabbitConfiguration { @Bean public FanoutExchange ...
0
votes
1answer
23 views

Spring-AMQP - routing based on message headers

As per the documentation: https://docs.spring.io/spring-amqp/docs/2.2.5.RELEASE/reference/html/#async-annotation-driven We can have different handlers for messages based on it's converted class type ...
0
votes
1answer
32 views

Spring Cloud Stream - Consume Data on Demand manually?

Using Spring Data Stream, How can I start reading from a queue and stop reading on demand? I want to so something like this: @EnableBinding(Sink.class) public class SomeConsumer { @StreamListener(...
0
votes
1answer
34 views

Spring Cloud Stream vs Spring AMQP

I'm developing an application that consumes messages from an exchange and it can publish to one of the multiple exchanges based on the input message transformation result. I am trying to decide ...
1
vote
1answer
19 views

Understanding, replacing, configuring and modifying Spring Rabbit (AMQP) thread pools: A list of questions

I've got a few short questions about RabbitMQ + Spring , and i'd appreciate your help on this matter. After reading the documentation here (https://docs.spring.io/spring-amqp/reference/html/#...

15 30 50 per page
1
2 3 4 5
19