i am new on the project but here is what i found:
Project setup:
kotlin
azure service bus
spring boot 3.0.6
spring-cloud-stream:4.0.2
spring-cloud-stream-test-binder:4.0.2
Flow:
sending data to some topic 'address.update-file-records.v1' through InputDestination.
input.send(someByteArray, "address.update-file-records.v1")
Bean definition:
@Bean
fun updateAddress(): Consumer<Message<AddressUpdateRequest>> { return Consumer {}}
Where the topic or related method updateAddress is visible in any of application.yml files:
spring:
cloud:
stream:
// looks like this is used to import value in beans using @Value(...)
property:
destinations:
updateAddress-out-0:
address.update-file-records.v1
function.definition: updateAddress;someOtherMethod
bindings:
updateAddress-in-0:
destination: address.update-file-records.v1
servicebus:
bindings:
updateAddress-in-0:
consumer:
maxConcurrentCalls: ${ans.messaging.client.threads.update-address}