[jboss-jira] [JBoss JIRA] Commented: (JBAS-5114) MessageDriven EJB3 does not create destination automatically
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Wed Sep 24 05:22:21 EDT 2008
[ https://jira.jboss.org/jira/browse/JBAS-5114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12430949#action_12430949 ]
Andrew Lee Rubinger commented on JBAS-5114:
-------------------------------------------
DeCoste once told me that this feature was explicitly removed because:
1) MDB deploys
2) No existing Topic/Queue
3) Topic/Queue is automatically created
4) MDB is undeployed
5) There's no callback/hook to remove the created Topic/Queue. And if there was, should undeploying the MDB even be allowed to trigger this action?
> 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
> Reporter: Thomas Diesler
> Assignee: Jesper Pedersen
> Fix For: JBossAS-5.1.0.CR1
>
> 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