Commit Graph

12 Commits

Author SHA1 Message Date
mbgattu
64b96a5bd7
Update Recv.java
Adding additional import statement to fix following error received while compiling
Recv.java:20: error: cannot find symbol
            String message = new String(delivery.getBody(), StandardCharsets.UTF_8);
                                                            ^
  symbol:   variable StandardCharsets
  location: class Recv
1 error
2022-04-06 12:51:28 -04:00
Andrii Maliuta
c503a3ad25
Update Recv.java
StandardCharsets.UTF_8 used instead of String value
2021-11-01 13:02:15 +02:00
Arnaud Cogoluègnes
61ca6df6d5
Update Java tutorials to Java 8 2018-12-04 10:55:14 +01:00
Michael Klishin
85f3081147 Don't use queueing consumer in Java tutorials
It's no longer relevant these days and cannot be recovered
by automatic connection recovery.
2015-08-04 14:19:28 +03:00
a.hofmann
54bf8a1ca4 Correction of Java examples to preserve utf-8 string encoding 2015-05-18 22:44:31 +02:00
Ann Witbrock
0f59c109b2 Tidied Exceptions 2011-04-05 17:53:15 +01:00
Ann
ffad5a9cd7 Code tidied wrt Steve's QA bug23639 2011-02-17 17:13:29 +00:00
Marek Majkowski
0cd19cb060 Don't handle exceptions in java example 2010-12-13 14:35:02 +00:00
Marek Majkowski
b6778b326a Output of java examples should be consistent with other languages. 2010-12-13 14:00:54 +00:00
Marek Majkowski
e7a103c838 Always use 'localhost', avoid setting username and password. 2010-12-13 13:34:15 +00:00
Your Name
34052d0eeb The queue should be named 'hello' instead of 'test' 2010-11-30 17:35:14 +00:00
Michael Bridgen
6b2d147982 Uppercase classes, change queue name to match diagrams, cope with failure. 2010-11-22 17:14:42 +00:00