You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dong Pak (JIRA)" <ji...@apache.org> on 2010/04/15 16:27:45 UTC

[jira] Resolved: (AMQ-1496) jms.prefetchPolicy in Resource-Adapter!

     [ https://issues.apache.org/activemq/browse/AMQ-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dong Pak resolved AMQ-1496.
---------------------------

    Resolution: Working as Designed

Thanks for the information.  Changing the default settings of maxMessagesPerSessions and maxSessions worked.

> jms.prefetchPolicy in Resource-Adapter!
> ---------------------------------------
>
>                 Key: AMQ-1496
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1496
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: goldi
>             Fix For: 5.0.0
>
>
> Testing  ActiveMQ integrated in JBoss I found that the following doesn't work anymore:
> <config-property-value>failover://(tcp://192.168.8.101:65001)?jms.prefetchPolicy.all=1000</config-property-value>
> I got the following exception:
> 2007-11-16 15:08:50,734 ERROR [org.apache.activemq.ra.ActiveMQEndpointWorker] Endpoint connection to JMS broker failed: Could not create Transport. Reason: java.lang.IllegalArgumentException: Invalid connect parameters: {jms.prefetchPolicy.all=1000}
> 2007-11-16 15:08:50,734 ERROR [org.apache.activemq.ra.ActiveMQEndpointWorker] Endpoint will try to reconnect to the JMS broker in 30 seconds

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira