solace-spring-cloud icon indicating copy to clipboard operation
solace-spring-cloud copied to clipboard

ThreadPoolName is not respecting the input listener name

Open murillocg opened this issue 1 year ago • 1 comments

The class where we have the listener (StreamListener) has the following thread pool naming standard: pool-11-thread-43

In the Spring Cloud Streams with Rabbit Binder, the thread pool prefix follows the channel name as follows: gov-connector.v1.send-to-gov-{thread_number}

murillocg avatar Mar 03 '23 16:03 murillocg

Hi @murillocg,

@StreamListener is actually deprecated in the Spring Cloud Stream framework. Can you try to use Spring Cloud Function and see if that meets your needs? You would use a Consumer function if just consuming and a Function function if you also have outbound messages. See the Spring Cloud Stream reference guide for more info.

Deprecation notice: https://docs.spring.io/spring-cloud-stream/docs/current/reference/html/spring-cloud-stream.html#spring-cloud-stream-preface-notable-deprecations

*Note that I am moving this over to solace-spring-cloud since that is where our Spring Cloud Stream binder resides.

Mrc0113 avatar Mar 03 '23 16:03 Mrc0113