Replies: 1 comment 2 replies
-
|
The stackoverflow link I provided in the question has the answer. The problem was with my Spring Integration Flow configuration and nothing to do with DGS. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the question fairly well documented on Stackoverflow, but I wanted try to here as well. Essentially I have a
DgsComponentthat exposes a subscription:Inside my Spring Configuration I have the
Publisher<SurveyResult>defined. Essentially it is a Spring Integration Flow. It is defined as the following:I will note that I have a different
@JmsListener(non spring integration variant) that is receiving the messages off the topic and tossing them in the database. After I establish a web socket connection with my client, I would expect to see an additional consumer on the topic in the ActiveMQ console, but I do not.I know that the subscription is properly working as if I swap the
surveyResultsReactiveSourcefor therepository, I get a stream of results on the client. I am wondering if there is something I should be doing in DGS land to "activate" the source. I would suppose whatever subscriber DGS supplies would do the trick, but perhaps I am missing something. Any thoughts?P.S I absolutely love DGS, thank you developers for all the hard work!!
Beta Was this translation helpful? Give feedback.
All reactions