
|
If you were logged in you would be able to see more operations.
|
|
|
|
I am not sure to understand how to create JMS resources with the plugin. I have been able to create a connectionfactory, but I have an issue with the creation of queues. In the example, the following section is provided:
Why is the queue defined relatively to a connectionfactory? The problem is that if I want to create several queues, then when I build my project the plugin ends up creating the connectionfactory several times (I don't want one factory per queue), which ends up in error.
I believe that this is because of this code (in org/glassfish/maven/plugin/CreateDomainMacro.java):
private void createJMSDestination(ProcessBuilder processBuilder, JmsDestination jmsDestination)
throws MojoExecutionException, MojoFailureException {
new CreateJMSResourceCommand(sharedContext, domain, jmsDestination.getConnectionFactory()).execute(processBuilder);
new CreateJMSDestinationCommand(sharedContext, domain, jmsDestination.getDestination()).execute(processBuilder);
new CreateJMSResourceCommand(sharedContext, domain, jmsDestination).execute(processBuilder);
}
Maybe I am missing something?
Cheers,
Olivier
|
|
Description
|
I am not sure to understand how to create JMS resources with the plugin. I have been able to create a connectionfactory, but I have an issue with the creation of queues. In the example, the following section is provided:
Why is the queue defined relatively to a connectionfactory? The problem is that if I want to create several queues, then when I build my project the plugin ends up creating the connectionfactory several times (I don't want one factory per queue), which ends up in error.
I believe that this is because of this code (in org/glassfish/maven/plugin/CreateDomainMacro.java):
private void createJMSDestination(ProcessBuilder processBuilder, JmsDestination jmsDestination)
throws MojoExecutionException, MojoFailureException {
new CreateJMSResourceCommand(sharedContext, domain, jmsDestination.getConnectionFactory()).execute(processBuilder);
new CreateJMSDestinationCommand(sharedContext, domain, jmsDestination.getDestination()).execute(processBuilder);
new CreateJMSResourceCommand(sharedContext, domain, jmsDestination).execute(processBuilder);
}
Maybe I am missing something?
Cheers,
Olivier |
Show » |
Sort Order:
| There are no comments yet on this issue.
|
|