Skip to content
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

no support for filters in listener #49

Closed
solidhtp opened this issue Oct 5, 2021 · 3 comments · Fixed by #53
Closed

no support for filters in listener #49

solidhtp opened this issue Oct 5, 2021 · 3 comments · Fixed by #53

Comments

@solidhtp
Copy link

solidhtp commented Oct 5, 2021

Hello,

ActiveMQ supports filters by JMS selector expressions or XPath. rhea supports message filtering as described here.
@Listen accepts only string type in source.

@Listen(source: string, options: ListenOptions)

In order to support filters source should be type of string | Source Source as described in this line. I tried it locally with type Source and filters were working fine.

I can create a PR which simply changes the source type from string to string | Source.

@raschan
Copy link
Collaborator

raschan commented Oct 6, 2021

Hi @solidhtp ,

Awesome, a PR would be welcomed.

@solidhtp
Copy link
Author

solidhtp commented Oct 6, 2021

@raschan PR created. Please merge.

@raschan
Copy link
Collaborator

raschan commented Mar 29, 2022

Hi @solidhtp

Sorry for the delay, life happened....

I've updated the package with support for the Source object defined in rhea-promise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants