Unable to set "consumerType" or "messageListenerContainerFactoryRef" option on Camel-JMS component

Solution Unverified - Updated -


  • I am trying to configure either "consumerType" or "messageListenerContainerFactoryRef" on camel-jms like:
<bean id="oracleQueue" class="org.apache.camel.component.jms.JmsComponent">
    <property name="connectionFactory" ref="oracleQueueConnectionFactory" />  
    <property name="messageListenerContainerFactoryRef" ref="oracleProtobufListenerFactory" />

But I am getting following error:

Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'messageListenerContainerFactoryRef' of bean class [org.apache.camel.component.jms.JmsComponent]: Bean property 'messageListenerContainerFactoryRef' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?


  • Fuse ESB Enterprise 7.1
  • JBoss Fuse 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content