Examples of StandardPropertiesDescriptor


Examples of org.jitterbit.integration.jms.StandardPropertiesDescriptor

     *             if <code>name</code> is invalid.
     */
    public JmsMessage(JmsMessageId id, String name) {
        super(EntityType.JmsMessage, id, name);
        headerDescriptor = new MessageHeaderDescriptor();
        standardProperties = new StandardPropertiesDescriptor();
        userDefinedProperties = new MessagePropertiesDescriptor();
    }
View Full Code Here

Examples of org.jitterbit.integration.jms.StandardPropertiesDescriptor

     *
     * @return an <code>StandardPropertiesDescriptor</code> instance describing the standard
     *         properties settings for this <code>JmsMessage</code>.
     */
    public StandardPropertiesDescriptor getStandardPropertiesDescriptor() {
        return new StandardPropertiesDescriptor(standardProperties);
    }
View Full Code Here

Examples of org.jitterbit.integration.jms.StandardPropertiesDescriptor

     *            <code>JmsMessage</code>. Passing <code>null</code> to this method results in
     *            standard properties without any default values.
     */
    public void setStandardPropertiesDescriptor(StandardPropertiesDescriptor props) {
        boolean changed = false;
        StandardPropertiesDescriptor old = standardProperties;
        if (props == null) {
            changed = standardProperties.hasNonNullDefaultValues();
            if (changed) {
                standardProperties = new StandardPropertiesDescriptor();
            }
        } else {
            changed = !props.equals(standardProperties);
            if (changed) {
                standardProperties = new StandardPropertiesDescriptor(props);
            }
        }
        if (changed) {
            firePropertyChange(STANDARD_PROPERTIES, old, props);
        }
View Full Code Here

Examples of org.jitterbit.integration.jms.StandardPropertiesDescriptor

    @Override
    public JmsMessage clone() {
        JmsMessage clone = (JmsMessage) super.clone();
        clone.headerDescriptor = new MessageHeaderDescriptor(headerDescriptor);
        clone.standardProperties = new StandardPropertiesDescriptor(standardProperties);
        clone.userDefinedProperties = new MessagePropertiesDescriptor(userDefinedProperties);
        if (xmlPayloadStructure != null) {
            clone.xmlPayloadStructure = new XmlStructure(xmlPayloadStructure);
        } else {
            clone.xmlPayloadStructure = 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.