chatterbox-nats/chatterbox-nats-sample-war-rar/src/main/java/org/superbiz/EchoBean.java [27:38]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@MessageDriven(name = "Echo", activationConfig = {
        @ActivationConfigProperty(propertyName = "subject", propertyValue = "echo")
})
public class EchoBean implements InboundListener {

    @Override
    public void onMessage(final NATSMessage message) throws NATSException {
        try {
            final String text = new String(message.getData(), StandardCharsets.UTF_8);
            System.out.println(text);
        } catch (Exception e) {
            throw new NATSException(e);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



chatterbox-nats/chatterbox-nats-sample-war/src/main/java/org/superbiz/EchoBean.java [27:38]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@MessageDriven(name = "Echo", activationConfig = {
        @ActivationConfigProperty(propertyName = "subject", propertyValue = "echo")
})
public class EchoBean implements InboundListener {

    @Override
    public void onMessage(final NATSMessage message) throws NATSException {
        try {
            final String text = new String(message.getData(), StandardCharsets.UTF_8);
            System.out.println(text);
        } catch (Exception e) {
            throw new NATSException(e);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



