activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3500) Setting destination options should validate against typos
Date Thu, 15 Sep 2011 17:52:09 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105552#comment-13105552
] 

Claus Ibsen commented on AMQ-3500:
----------------------------------

Attached is a patch that logs a WARN and throws a ConfigurationException if any of the Destination
Options is invalid
{code}
WARN  ActiveMQMessageConsumer        - There are 1 consumer options that couldn't be set on
the consumer. Check the options are spelt correctly. Unknown parameters=[{consumer.unknown=foo}].
This consumer cannot be started.
{code}



> Setting destination options should validate against typos
> ---------------------------------------------------------
>
>                 Key: AMQ-3500
>                 URL: https://issues.apache.org/jira/browse/AMQ-3500
>             Project: ActiveMQ
>          Issue Type: Improvement
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>         Attachments: AMQ-3500.patch
>
>
> I think the logic does not validate that all the destination option was succesfully configured.
> http://activemq.apache.org/destination-options.html
> So if you make a typo, AMQ may continue as normal.
> We should add logic like in Camel, where we check the Map is zero after the introspection
logic have set the options.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message