AMQ-9544 Deprecated WildcardFileFilter constructor
What problems does this PR solve?
As per the WildcardFileFilter docs the WildcardFileFilter(String wildcard) constructor is deprecated. Replace this constructor with the recommended Builder.
Why is it beneficial to merge into ActiveMQ? Updates deprecated code with the recommended approach.
How do you make sure this PR is well tested? Ran all of the tests that were updated to ensure they are still passing. For abstract test classes, tested the classes which extend them.
You probably need to re-run the tests. It seems to fail due to flakiness.
@mattrpav and @jbonofre, could you take a look at this PR when you have a chance? Thanks.