Created
December 29, 2018 12:44
-
-
Save fmachado091/6c85a7d7f972d101af60ce7321867ddf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component | |
public class HelloPubSubPublisher extends PubSubPublisher { | |
@Autowired | |
public HelloPubSubPublisher(PubSubTemplate pubSubTemplate) { | |
super(pubSubTemplate); | |
} | |
@Override | |
protected String topic() { | |
return "hello-pubsub"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment