You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jonathan Gallimore (Jira)" <ji...@apache.org> on 2022/04/04 14:58:00 UTC

[jira] [Resolved] (TOMEE-3889) Invalid ObjectName for MDB listening to wildcard destination

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

Jonathan Gallimore resolved TOMEE-3889.
---------------------------------------
    Resolution: Fixed

> Invalid ObjectName for MDB listening to wildcard destination
> ------------------------------------------------------------
>
>                 Key: TOMEE-3889
>                 URL: https://issues.apache.org/jira/browse/TOMEE-3889
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 9.0.0-M7, 8.0.10
>            Reporter: Jonathan Gallimore
>            Assignee: Jonathan Gallimore
>            Priority: Major
>             Fix For: 9.0.0-M8, 8.0.11
>
>
> The following MDB will work ok, but fail to register a JMX MBean as the MBean ObjectName cannot contain an asterisk:
>  
> @MessageDriven(
> activationConfig = {
> @ActivationConfigProperty(propertyName = "destination", propertyValue = "dest.*.event"),
> @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"),
> }
> )
> public static class WildcardMdb implements MessageListener {
> @Override
> public void onMessage(final Message message) {
> System.out.println("Message received");
> }
> }
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)