[
https://issues.jboss.org/browse/SEAMJMS-8?page=com.atlassian.jira.plugin....
]
John Ament commented on SEAMJMS-8:
----------------------------------
It should work the same if you make ConnectionProducer @ApplicationScoped, it just
doesn't have a scope right now. Since connection factories are "costly" we
can only have one instance of ConnectionProducer then. Maybe the inject Singleton makes
more sense in this case?
Weld DefinitionException on deploy in jboss6-cr1
------------------------------------------------
Key: SEAMJMS-8
URL:
https://issues.jboss.org/browse/SEAMJMS-8
Project: Seam JMS
Issue Type: Bug
Components: Injection
Affects Versions: 3.0.0.Alpha1
Environment: JBoss 6 CR1
Reporter: Rick Kilcoyne
Priority: Blocker
Labels: jms, seam
On deploy, getting the following exception from the ConnectionFactory Producer:
org.jboss.weld.exceptions.DefinitionException: WELD-001502 Resource producer field
[Resource Producer Field [ConnectionFactory] with qualifiers [@Any @Module] declared as
[[field] @Module @Produces @ApplicationScoped @Resource private
org.jboss.seam.jms.impl.inject.ConnectionProducer.cf]] must be @Dependent scoped
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira