-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Message filtering #90
Comments
Yes, I think that is a good idea. I want to redesign the structure of the entire wiki because I think it is not very well organized. But I just can't find the time to do so. Other open source projects also require time and attention. Do you have a specific question about message filtering? |
It was just a quick shot but i wanted to make the bus kind of bi-directional. To do that i would require some kind of message id in the message and need to watch on incoming messages for this id to detect a response, kind of a custom topic or queue for the response. For that i would need the filters but as i havent found any documentation in the wiki and was too lazy to look into some code i dont know if that would work with the bus. If i could dynamically create topics bi directional would be no problem as i can create a custom random id topic for the message where another handler could answer. Since all bus implementation rely on reflections and custom annotation handlers, i need to solve this with some kind of message id |
Hi, sorry for not getting back to you. It seems I somehow forgot about this issue. Are you still interested? I have the intuition the your requirement can be implemented quite easily with the functionality that is already there. If you are interested you can lay out your use case in more detail and I will see what I can do. |
Yes, even so i now use Spring Reactor i will lay out a use case for you so you can decide if the use case is common or not :) give me a few hours until i get home |
@Chumper hope you're home and safe |
Yes, took me quite a while to get home but i will try to present you my current use case: Currently i am writing an app with libgdx, it is a puzzle game. For example after a puzzle is rated i want to transmit the rating to the server that can happen without waiting for a response. Another use case is puzzle generation: A user can generate a puzzle on the device. After the user presses In order for this to work, i need to listen on dynamic topics or wait until a message returns to the sender which is not possible at the moment. Therefore i would appreciate a consumer i can pass to the bus which is executed after all consumers handled the message or the possibility to create a second dynamic topic where all handlers can respond to. I used |
I read about the message filter, but the wiki just lists some headers.
How about continuing the work there?
The text was updated successfully, but these errors were encountered: