Examples of withMessage()


Examples of com.github.dockerjava.api.command.CommitCmd.withMessage()

        }
       
        String msg = DockerHelper.getProperty(DockerConstants.DOCKER_MESSAGE, configuration, message, String.class);

        if (message != null) {
            commitCmd.withMessage(msg);
        }
       
        String tag = DockerHelper.getProperty(DockerConstants.DOCKER_TAG, configuration, message, String.class);

        if (tag != null) {
View Full Code Here

Examples of com.netflix.suro.message.MessageSetBuilder.withMessage()

        queue.start();

        MessageSetBuilder builder = new MessageSetBuilder(new ClientConfig());

        for (int i = 0; i < 10; ++i) {
            builder.withMessage("topic1", Integer.toString(i).getBytes());
        }
        // sink1: 10
        // default: 10
        queue.process(builder.build());
View Full Code Here

Examples of com.netflix.suro.message.MessageSetBuilder.withMessage()

        // sink1: 10
        // default: 10
        queue.process(builder.build());

        for (int i = 0; i < 5; ++i) {
            builder.withMessage("topic2", Integer.toString(i).getBytes());
        }
        // sink1: 5
        queue.process(builder.build());

        for (int i = 0; i < 15; ++i) {
View Full Code Here

Examples of com.netflix.suro.message.MessageSetBuilder.withMessage()

        }
        // sink1: 5
        queue.process(builder.build());

        for (int i = 0; i < 15; ++i) {
            builder.withMessage("topic3", Integer.toString(i).getBytes());
        }
        queue.process(builder.build());
        // sink3: 15 with topic3_alias

        for (int i = 0; i < 20; ++i) {
View Full Code Here

Examples of com.netflix.suro.message.MessageSetBuilder.withMessage()

        }
        queue.process(builder.build());
        // sink3: 15 with topic3_alias

        for (int i = 0; i < 20; ++i) {
            builder.withMessage("topic4", Integer.toString(i).getBytes());
        }
        // default: 20
        queue.process(builder.build());

        // total sink1: 15, default: 30
View Full Code Here

Examples of com.netflix.suro.message.MessageSetBuilder.withMessage()

    public static TMessageSet createMessageSet(int messageCount) {
        MessageSetBuilder builder = new MessageSetBuilder(new ClientConfig())
                .withCompression(Compression.LZF);

        for(int i = 0; i < messageCount; ++i) {
            builder.withMessage(
                    "routingKey",
                    ("testMessage" +i).getBytes());
        }

        return builder.build();
View Full Code Here

Examples of org.apache.camel.component.jmx.jaxb.NotificationEventType.withMessage()

            jaxb = mObjectFactory.createNotificationEventType();
            wrap = true;
        }

        // add all of the common properties
        jaxb.withMessage(aNotification.getMessage())
                .withSequence(aNotification.getSequenceNumber())
                .withSource(String.valueOf(aNotification.getSource()))
                .withTimestamp(aNotification.getTimeStamp())
                .withType(aNotification.getType());
        if (aNotification.getUserData() != null) {
View Full Code Here

Examples of org.apache.camel.component.jmx.jaxb.NotificationEventType.withMessage()

            jaxb = mObjectFactory.createNotificationEventType();
            wrap = true;
        }

        // add all of the common properties
        jaxb.withMessage(aNotification.getMessage())
                .withSequence(aNotification.getSequenceNumber())
                .withSource(String.valueOf(aNotification.getSource()))
                .withTimestamp(aNotification.getTimeStamp())
                .withType(aNotification.getType());
        if (aNotification.getUserData() != null) {
View Full Code Here

Examples of org.apache.camel.component.jmx.jaxb.NotificationEventType.withMessage()

            jaxb = mObjectFactory.createNotificationEventType();
            wrap = true;
        }

        // add all of the common properties
        jaxb.withMessage(aNotification.getMessage())
                .withSequence(aNotification.getSequenceNumber())
                .withSource(String.valueOf(aNotification.getSource()))
                .withTimestamp(aNotification.getTimeStamp())
                .withType(aNotification.getType());
        if (aNotification.getUserData() != null) {
View Full Code Here

Examples of org.apache.camel.component.jmx.jaxb.NotificationEventType.withMessage()

            jaxb = mObjectFactory.createNotificationEventType();
            wrap = true;
        }

        // add all of the common properties
        jaxb.withMessage(aNotification.getMessage())
                .withSequence(aNotification.getSequenceNumber())
                .withSource(String.valueOf(aNotification.getSource()))
                .withTimestamp(aNotification.getTimeStamp())
                .withType(aNotification.getType());
        if (aNotification.getUserData() != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.