Open alxndrsn opened 8 years ago
Is there an older version, where the keyword filtering functionality works?
So this is the reason why it doesn't work at all?
I want to setup two endpoints according to a keyword in the message received, and despite setting up the filter for each endpoint the message is POSTed to both URLs
In
PostMessage.postMessage(Message message, SyncUrl syncUrl)
, the method appears it should be checking keywords before deciding if a message should be forwarded, but actually it always performs the same action. The code simplifies to:Regardless of the results of
a()
andb()
, this method will always callpostToWebService
with the same arguments.If this is deliberate, and the code does not rely on Exceptions being thrown in the
a()
andb()
code, calls topostMessage(message, syncUrl)
could be replaced with direct calls topostToWebService(message, syncUrl)
.