axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anjana Fernando (JIRA)" <>
Subject [jira] [Updated] (AXIS2-5318) "consumer" and "producer" values are not supported in transport.jms.CacheLevel property
Date Thu, 10 May 2012 15:30:48 GMT


Anjana Fernando updated AXIS2-5318:

    Attachment: jms_cache_level_patch.txt


I'm attaching here the patch to fix the above mentioned issue. For reference, below is the
actual stacktrace you get of the error, when setting the cache level as "producer", you get
a rather similar one for "consumer" as well. 

[2012-05-10 17:04:02,148] ERROR - JMSListener Unexpected error when configuring service FileToJMSProxy
for the JMS transport. It will be disabled for this transport and marked as faulty.
org.apache.axis2.transport.jms.AxisJMSException: Invalid cache level : producer
        at org.apache.axis2.transport.jms.ServiceTaskManagerFactory.getCacheLevel(
        at org.apache.axis2.transport.jms.ServiceTaskManagerFactory.createTaskManagerForService(
        at org.apache.axis2.transport.jms.JMSEndpoint.loadConfiguration(
        at org.apache.axis2.transport.base.AbstractTransportListenerEx.startListeningForService(
        at org.apache.axis2.transport.base.AbstractTransportListener.internalStartListeningForService(
        at org.apache.axis2.transport.base.AbstractTransportListener$2.serviceAdded(
        at org.apache.axis2.transport.base.tracker.AxisServiceTracker.serviceAdded(
        at org.apache.axis2.transport.base.tracker.AxisServiceTracker.start(
        at org.apache.axis2.transport.base.AbstractTransportListener.start(
        at org.apache.axis2.transport.base.AbstractTransportListenerEx.start(
        at org.apache.axis2.engine.ListenerManager.start(
        at org.apache.axis2.engine.ListenerManager.startSystem(

> "consumer" and "producer" values are not supported in transport.jms.CacheLevel property
> ---------------------------------------------------------------------------------------
>                 Key: AXIS2-5318
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.1
>            Reporter: Amila Maharachchi
>            Priority: Blocker
>         Attachments: jms_cache_level_patch.txt
> When trying to set the transport.jms.CacheLevel property as "consumer" or "producer"
it throws exception saying "Invalid cache level"....... This property is needed to get the
ActiveMQ redelivery mechanism to work because in ActiveMQ, redeliverPolicy is dictated by
the CONSUMER. Further looking in to the code revealed 
> 1. CONSUMER is set but cannot be digest
> 2. PRODUCER is not set

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message