You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Will Tran (JIRA)" <ji...@apache.org> on 2009/07/23 05:42:33 UTC
[jira] Commented: (AMQ-2274) Setting keepAlive through URL does
nothing
[ https://issues.apache.org/activemq/browse/AMQ-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52903#action_52903 ]
Will Tran commented on AMQ-2274:
--------------------------------
If you're using Phillipe's workaround, you still may need to register the BooleanEditor with java.beans.PropertyEditorManager, as PropertyEditorManager.findEditor(Boolean.class) (which is used in IntrospectionUtils) still returned null with the BooleanEditor in the classpath. I did that in some bootstrap code with this line:
PropertyEditorManager.registerEditor(Boolean.class, BooleanEditor.class);
> Setting keepAlive through URL does nothing
> ------------------------------------------
>
> Key: AMQ-2274
> URL: https://issues.apache.org/activemq/browse/AMQ-2274
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.1.0, 5.2.0
> Environment: jdk5
> Reporter: Philippe Mouawad
> Assignee: Gary Tully
> Priority: Critical
> Fix For: 5.3.0
>
> Attachments: BooleanEditor.java, BugKeepAlive.java
>
>
> I use ActiveMQ 5.2 and configure a client using jndi.properties with connection url:
> connection.TopicConnectionFactory.brokerURL=tcp://localhost:61616?soTimeout=30000&connectionTimeout=30000&keepAlive=true&minmumWireFormatVersion=3&jms.prefetchPolicy.all=5
> All boolean properties (keepAlive) are ignored
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.