[jboss-jira] [JBoss JIRA] Commented: (JBAS-5114) MessageDriven EJB3 does not create destination automatically

Adrian Brock (JIRA) jira-events at lists.jboss.org
Wed Sep 24 05:35:21 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBAS-5114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12430952#action_12430952 ] 

Adrian Brock commented on JBAS-5114:
------------------------------------

NOTE: The main reason for disabling this feature is that it is very JMS specific
and confusing for users that don't use our embedded jms server.

Even understanding what the activation-config-properties mean can vary between jms providers.

> MessageDriven EJB3 does not create destination automatically
> ------------------------------------------------------------
>
>                 Key: JBAS-5114
>                 URL: https://jira.jboss.org/jira/browse/JBAS-5114
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JCA service
>    Affects Versions: JBossAS-5.0.0.CR2
>            Reporter: Thomas Diesler
>            Assignee: Adrian Brock
>             Fix For: JBossAS-5.0.0.GA
>
>         Attachments: server.log
>
>
> When deploying this bean
> @MessageDriven(activationConfig = { 
>       @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
>       @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/RequestQueue") })
> public class OrganizationJMSEndpoint extends JMSTransportSupportEJB3
> {
>    // provide logging
>    private static final Logger log = Logger.getLogger(OrganizationJMSEndpoint.class);
>    @WebMethod
>    public String getContactInfo(String organization) throws RemoteException
>    {
>       log.info("getContactInfo: " + organization);
>       return "The '" + organization + "' boss is currently out of office, please call again.";
>    }
> }
> the RequestQueue is not create automatically. This works in jboss-4.2.3
> Please see related issue for test details.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list