@MessageEndpoint public class SampleService extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent>
| Constructor and Description |
|---|
SampleService() |
| Modifier and Type | Method and Description |
|---|---|
void |
log(org.springframework.messaging.Message<?> message) |
void |
onApplicationEvent(org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent event) |
@ServiceActivator(inputChannel="messages") public void log(org.springframework.messaging.Message<?> message)
public void onApplicationEvent(org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.web.servlet.context.ServletWebServerInitializedEvent>Copyright © 2021 Pivotal Software, Inc.. All rights reserved.