[
https://jira.jboss.org/jira/browse/JBAS-5114?page=com.atlassian.jira.plug...
]
Adrian Brock updated JBAS-5114:
-------------------------------
Fix Version/s: JBossAS-5.0.0.GA
(was: JBossAS-5.1.0.CR1)
Affects Version/s: JBossAS-5.0.0.CR2
Assignee: Adrian Brock (was: Jesper Pedersen)
I'm assigning this to me, I said at the last EJB3 dev meeting
that I'd write the example for jboss messaging and include it in JBossAS.
Basically this feature will be replaced with a new deployer where it will look
at the ejb metadata/annotations and creates the destination (well actually some metadata
on
how to create/destroy the queue if it doesn't exist).
This allows users to swap out the implementation for other embedded JMS servers,
or it allows the use of management apis for remote JMS servers
according to their choice of JMS implementation.
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