...
This configuration can be loaded by injecting the ProducerProperties instance:
public class MyClass {
@Inject
ProducerProperties producerProperties;
...
Getting a Producer instance
To get a new producer instance do the following:
public class MyClass {
@Inject
MessageQueueProvider mqProvider;
...
protected void myMethod() {
try {
var myProducer = mqProvider.getProducer();
...
}
}