Questions tagged [spring-messaging]

A Spring Framework module providing APIs and base classes for messaging.

Spring Messaging is a module of the Spring Framework () providing APIs and fundamental classes for other Spring messaging projects such as and .

258 questions
0
votes
1 answer

Dispatcher has no subscribers for outgoing sftp channel

I'm using spring-integration-sftp and my goal is to push local file to SFTP (just that for now, without confirmation or anything else). My configuration is as follows: @EnableIntegration @IntegrationComponentScan @Configuration @Lazy public class…
Razor
  • 7
  • 1
  • 2
0
votes
1 answer

Customize RabbitMQ message deserialization in Spring Boot

I have a hierarchy of messages. The topmost message in the hierarchy is defined with @JsonTypeInfo and @JsonSubTypes. The class is not under my control. I extended the hierarchy with my own message and to allow Jackson to deserialize my message,…
0
votes
1 answer

Which component is creating null-consumerMonitor-# threads?

Recently we started to test the Direct Container Factory in one of our microservices, the main motivation to change container factory is we want to reduce the thread number that process messages from queues. Usually, when this microservice boots…
laninog
  • 48
  • 6
0
votes
1 answer

Send message to consumer when connected to ActiveMQ

I have multiple instances of a worker connected to a queue and all requests will be distributed to worker instances in a load balanced way. When a new worker instance is connected to the queue, I should dump a small data from mainstream app to this…
Rajeev
  • 183
  • 2
  • 10
0
votes
0 answers

Custom Message Headers support when using functional bean definitons

I am unable to extract custom Message headers in a Function when using functional bean definitions for Spring cloud function. Is there any way to extract the user defined Messsage headers that were passed in the request…
0
votes
1 answer

Initialize application context during testing excluding the spring integration beans

I am working on Spring Boot application which uses Spring Integration and Mqtt support. Here we have a test to check if the application context is started properly. class ApplicationTests { private @Autowired transient ApplicationContext…
0
votes
0 answers

Corrupted payload sending Protobuff message using MQTT

I have got device simulator written in python which sent Protobuff messages using mqtt paho client. Problem occurs when I consume those messages by another client written in Java(also eclipse paho). Payload that I receive seems to be corrupted. I am…
morgenz
  • 3
  • 1
0
votes
1 answer

How to distinguish destinations in Spring Messaging for the socket exchange

Implementation of the WebSocketMessageBrokerConfigurer must implement two methods. configureMessageBroker is one of them: public void configureMessageBroker(MessageBrokerRegistry registry) { …
0
votes
1 answer

How do you add reactive interceptors to Spring Boot annotated controllers?

I've set up rsocket metrics using rsocket-micrometer on the CLIENT side, by configuring the RSocketConnector with interceptors, like this (Kotlin): rSocketReqesterBuilder.rsocketConnector { configureConnector(it) } // ... private fun…
Eric J Turley
  • 350
  • 1
  • 5
  • 20
0
votes
1 answer

Spring Cloud Stream migration

I've noticed that @Output -> @StreamListener approach has been deprecated and totally rewritten, to be used with Supplier/Consumer approach. It's said that all functionalities has been preserved in new approach, so I'm looking for a good…
Marx
  • 804
  • 10
  • 23
0
votes
1 answer

Spring @SqsListener - get queue name

I understand that with Springs @SqsListener annotation I can listen to multiple queues with the same listener. As per documentation: public @interface SqsListener { /** * List of queues. Queues can be defined by their logical/physical name…
Tarmo
  • 3,851
  • 2
  • 24
  • 41
0
votes
1 answer

Hiding Spring Messaging Infrastructure from Clients

I am developing a service that makes use of Spring for messaging and integration. The service has an inbound message channel that clients can use to send control information to the service and an outbound message channel that the service can use to…
Brandon E Taylor
  • 24,881
  • 6
  • 47
  • 71
0
votes
1 answer

AWS SQS error while receiving message from queue in Java with message attributes

I am sending a message using AmazonSQS. AmazonSQS client: var sqs = AmazonSQSClientBuilder .standard() .withEndpointConfiguration( buildEndpointConfiguration( configuration ) ) .withCredentials(…
0
votes
1 answer

Spring Integration - Producer Queue capacity limitations

Spring Integration - Producer Queue capacity limitations We are using Remote partitioning with MessageChannelPartitionHandler to send partition messages to Queue(ActiveMQ) for workers to be pick and process. The job has huge data to process , many…
0
votes
2 answers

In spring-boot how can we confirm the subscription request HTTP from amazon SNS

How can we confirm the subscription request from Amazon SNS using spring-boot and spring-cloud-starter-aws-messaging? According to the Spring Cloud AWS – Messaging Support tutorial we need to add the topic name to the @RequestMapping annotation on…