You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/09/16 14:46:00 UTC

[jira] [Commented] (ARTEMIS-2545) Auto queue creation does not work with MDBs

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

ASF subversion and git services commented on ARTEMIS-2545:
----------------------------------------------------------

Commit f19337901a45e3437d1b944a5c60fb975754ab88 in activemq-artemis's branch refs/heads/main from Emmanuel Hugonnet
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=f193379 ]

[ARTEMIS-2545]: Auto queue creation does not work with MDBs.

* Adding support for queue autocreation from the resource adapter.

Issue: https://issues.apache.org/jira/browse/ARTEMIS-2545


> Auto queue creation does not work with MDBs
> -------------------------------------------
>
>                 Key: ARTEMIS-2545
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2545
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.10.1
>            Reporter: Bob Mitchell
>            Priority: Minor
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Using an Artemis server configured for automated queue creation and an MDB with the following activation configuration:
> {code:java}
> @MessageDriven(activationConfig = {
>         @ActivationConfigProperty(propertyName = "destination", propertyValue = "MyQueue"),
>         @ActivationConfigProperty(propertyName = "useJNDI", propertyValue = "false"),
>         @ActivationConfigProperty(propertyName = "connectionFactoryLookup", propertyValue = "jms/ArtemisQueueConnectionFactory"),
>         @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
> }){code}
> The "MyQueue" queue does not get automatically created, causing startup to fail.
> This is particularly a pain with a clustered Artemis, because you then have to create the queue on every node in the cluster.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)