{
<BUG>exceptionMappers.add(exceptionMapper);
</BUG>
}
<BUG>public void setContextResolver(ContextResolver<?> contextResolver)
</BUG>
{
<BUG>contextResolvers.add(contextResolver);
</BUG>
}

{
javaComponents.add((JavaComponent) mp);
}
else
{
throw new IllegalStateException("Only JavaComponents are allowed as MessageProcessors. Type "
+ mp.getClass().getName() + " is not allowed.");
