Remove naming outside of cchannelproducer

This commit is contained in:
Tadgh 2020-07-29 18:45:40 -07:00
parent b8c000b3a1
commit 83d4035ca1
1 changed files with 1 additions and 2 deletions

View File

@ -64,8 +64,7 @@ public class EmpiChannelSubmitterSvcImpl implements IEmpiChannelSubmitterSvc {
private void init() { private void init() {
ChannelProducerSettings channelSettings = new ChannelProducerSettings(); ChannelProducerSettings channelSettings = new ChannelProducerSettings();
String channelName = myChannelNamer.getChannelName(EMPI_CHANNEL_NAME, channelSettings); myEmpiChannelProducer= myChannelFactory.getOrCreateProducer(EMPI_CHANNEL_NAME, ResourceModifiedJsonMessage.class, channelSettings);
myEmpiChannelProducer= myChannelFactory.getOrCreateProducer(channelName, ResourceModifiedJsonMessage.class, channelSettings);
} }
private MessageChannel getEmpiChannelProducer() { private MessageChannel getEmpiChannelProducer() {