public class ServerSideFilterConfiguration extends java.lang.Object implements Configuration
Configuration
interface.
Provides easy access to a JMS message selector filter. Currently only the JMS
protocol is supported, i.e. this would only work if the underlying transport
protocol is JMS.DURABLE_SUBSCRIPTION, FILTER, IDEMPOTENT_CONSUMER, ORDERING, SERVER_SIDE_FILTER, THREAD_POOL
Constructor and Description |
---|
ServerSideFilterConfiguration(java.lang.String filter)
Constructs an object based on a provided server side filter.
|
public ServerSideFilterConfiguration(java.lang.String filter)
new FilterConfiguration("$Event$Kind = 'Event'")
The code above can be used for filtering events out whose Kind header is
not "Event", i.e. this will filter all Heartbeat events out.filter
- - A JMS message selector filter.public java.lang.String getFilter()
public int getType()
Configuration
getType
in interface Configuration