Skip to content

Commit

Permalink
GH-723: Relax reply template generic types
Browse files Browse the repository at this point in the history
Resolves #723

Missing change from previous commit.
  • Loading branch information
garyrussell committed Jul 11, 2018
1 parent 91f1159 commit 0ffccba
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -80,7 +80,7 @@ public abstract class AbstractKafkaListenerContainerFactory<C extends AbstractMe

private ApplicationEventPublisher applicationEventPublisher;

private KafkaTemplate<K, V> replyTemplate;
private KafkaTemplate<?, ?> replyTemplate;

private AfterRollbackProcessor<K, V> afterRollbackProcessor;

Expand Down Expand Up @@ -197,7 +197,7 @@ public void setApplicationEventPublisher(ApplicationEventPublisher applicationEv
* @param replyTemplate the template.
* @since 2.0
*/
public void setReplyTemplate(KafkaTemplate<K, V> replyTemplate) {
public void setReplyTemplate(KafkaTemplate<?, ?> replyTemplate) {
this.replyTemplate = replyTemplate;
}

Expand Down

0 comments on commit 0ffccba

Please sign in to comment.