Remove naming outside of cchannelproducer
This commit is contained in:
parent
b8c000b3a1
commit
83d4035ca1
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue