// those are usually set on the endpoint and copied over to the message
RequestContext.getEventContext().getMessage().setOutboundProperty(METHOD_PROPERTY_NAME,
INVALID_METHOD_NAME);
Apple apple = new Apple();
apple.setAppleCleaner(new FruitCleaner()
{
public void wash(Fruit fruit)
{
// dummy
}