Skip to content

Commit 8b46253

Browse files
committed
ifinances
1 parent c842417 commit 8b46253

File tree

6 files changed

+14
-1
lines changed

6 files changed

+14
-1
lines changed
-6 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
1-
package com.rakeshv.springcloudstream;public class AwesomeConfig {
1+
package com.rakeshv.springcloudstream;
2+
3+
import org.springframework.context.annotation.Bean;
4+
import org.springframework.context.annotation.Configuration;
5+
6+
import java.time.LocalDateTime;
7+
import java.util.function.Supplier;
8+
9+
@Configuration
10+
public class AwesomeConfig {
11+
@Bean
12+
public Supplier<String> awesomeBean() {
13+
return () -> LocalDateTime.now().toString();
14+
}
215
}

0 commit comments

Comments
 (0)