Examples of PayloadStructureType


Examples of org.jitterbit.integration.jms.PayloadStructureType

        super(jms);
        addPayloadType(jms);
    }

    private void addPayloadType(JmsMessage jms) {
        PayloadStructureType type = jms.getPayloadStructureType();
        if (type != null) {
            addEntry("Payload type:", type);
        }
    }
View Full Code Here

Examples of org.jitterbit.integration.jms.PayloadStructureType

        setInitialState(p.getDisplayedObject());
    }

    @Override
    public void applyTo(JmsMessage m) throws IntegrationDataPanelException {
        PayloadStructureType type = getSelectedPayloadType();
        JmsMessagePanelPart activeDefiner = structureDefiners.get(type);
        activeDefiner.applyTo(m);
    }
View Full Code Here

Examples of org.jitterbit.integration.jms.PayloadStructureType

    private PayloadStructureType getSelectedPayloadType() {
        return (PayloadStructureType) typeSelector.getSelectedItem();
    }

    private void displayActiveDefiner() {
        PayloadStructureType type = getSelectedPayloadType();
        selectorArea.setActive(type);
    }
View Full Code Here

Examples of org.jitterbit.integration.jms.PayloadStructureType

        validateLifeTime();
        // TODO: Validate header and property default values.
    }

    private void validatePayloadStructure() {
        PayloadStructureType type = message.getPayloadStructureType();
        if (type == PayloadStructureType.TEXT) {
            validateTextStructure();
        } else if (type == PayloadStructureType.XML) {
            validateXmlStructure();
        }
View Full Code Here

Examples of org.jitterbit.integration.jms.PayloadStructureType

     * This method fires a <code>PropertyChangeEvent</code> for the property
     * {@link #PAYLOAD_STRUCTURE} if the payload type changes.
     *
     */
    public void setNoPayload() {
        PayloadStructureType old = getPayloadStructureType();
        boolean change = (old != PayloadStructureType.NONE);
        setPayloadStructureType(PayloadStructureType.NONE);
        setProperty(PAYLOAD_ENTITYTYPE_ID, EntityType.None.getId());
        xmlPayloadStructure = null;
        setProperty(PAYLOAD_DOCUMENT_ID, null);
View Full Code Here

Examples of org.jitterbit.integration.jms.PayloadStructureType

            return false;
        }
    }

    protected final DataStructure getStructure(JmsMessage msg) throws WizardPageException {
        PayloadStructureType payloadType = msg.getPayloadStructureType();
        switch (payloadType) {
        case NONE:
            return new NoStructure();
        case XML:
            return getXmlStructure(msg);
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.