Skip to content

Commit

Permalink
Merge pull request jpos#396 from fintechworks/feature/channel_adaptor…
Browse files Browse the repository at this point in the history
…_respect_filter_enable

ChannelAdaptor respect 'enabled' on filters config
  • Loading branch information
ar authored Feb 3, 2021
2 parents aba4b6b + 51a11ce commit 4d92549
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jpos/src/main/java/org/jpos/q2/iso/ChannelAdaptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ protected void addFilters (FilteredChannel channel, Element e, QFactory fact)
{
for (Object o : e.getChildren("filter")) {
Element f = (Element) o;
if (!QFactory.isEnabled(f)) continue;
String clazz = QFactory.getAttributeValue(f, "class");
ISOFilter filter = (ISOFilter) fact.newInstance(clazz);
fact.setLogger(filter, f);
Expand Down

0 comments on commit 4d92549

Please sign in to comment.