/** * Gets a property associated with the current event. Calling this method is equivilent to calling * <code>event.getMessage().getProperty(..., ...)</code> * * @param name the property name * @param defaultValue a default value if the property doesn't exist in the event * @return the property value or the defaultValue if the property does not exist */ public Object getProperty(String name, Object defaultValue) { return event.getProperty(name, defaultValue); }
/** * Gets a property associated with the current event. Calling this method is equivilent to calling * <code>event.getMessage().getProperty(...)</code> * * @param name the property name * @return the property value or null if the property does not exist */ public Object getProperty(String name) { return event.getProperty(name); }