I tried to use scoped filter with a batch consumer but got an exception on start up. I tested the batch consumer and filter in isolation and they work fine.
Main meth