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