Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

About Basic Usage #22

Closed
simon-miao opened this issue May 17, 2016 · 3 comments
Closed

About Basic Usage #22

simon-miao opened this issue May 17, 2016 · 3 comments

Comments

@simon-miao
Copy link

I want to run the Basic Usage, but It's not a java app, can you tell me how to runt it?

Thanks.

@simon-miao
Copy link
Author

nc.subscribe("foo", m -> {
System.out.println("Received a message: %s\n", new String(m.Data));
});

@mcqueary
Copy link

That's a lambda expression requiring Java 8.

On Monday, May 16, 2016, simon-miao notifications@github.com wrote:

nc.subscribe("foo", m -> {
System.out.println("Received a message: %s\n", new String(m.Data));
});


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#22 (comment)

Larry McQueary | Director, Messaging Technology
larry@apcera.com | @mcqueary | github.com/mcqueary

@simon-miao
Copy link
Author

Thanks for your answer.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants