[
https://issues.apache.org/jira/browse/TOMEE-3889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Gallimore closed TOMEE-3889.
-------------------------------------
> 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)