-
Sub-task
-
Resolution: Unresolved
-
Major
-
2.17.0.Final
It would be good to have a command to quickly add a new JMSConnectionFactoryDefinition to allow sending messages :
jms-add-connection-factory-definition --named myFactory --resourceAdapter jmsra
This will create a new class called org.myproject.jms.MessageResources if it doesn't exist, and will add a new JMSConnectionFactoryDefinition :
package org.myproject.jms; @JMSConnectionFactoryDefinitions({ @JMSConnectionFactoryDefinition( name = "myFactory", interfaceName = "jmsra" ) }) public class MessageResources { }
Tying the command a second time will add a new JMSConnectionFactoryDefinition to the exiting JMSConnectionFactoryDefinitions :
@JMSConnectionFactoryDefinitions({
@JMSConnectionFactoryDefinition(
name = "myFactory",
interfaceName = "jmsra"
),
@JMSConnectionFactoryDefinition(
...
)
})
public class MessageResources