Package org.switchyard.config.model.composer

Examples of org.switchyard.config.model.composer.MessageComposerModel


     * @param cbm a CamelBindingModel to get configuration details from
     * @return the MessageComposer
     */
    public static MessageComposer<CamelBindingData> getMessageComposer(CamelBindingModel cbm) {
        ContextMapperModel cmm = cbm != null ? cbm.getContextMapper() : null;
        MessageComposerModel mcm = cbm != null ? cbm.getMessageComposer() : null;
        return Composition.getMessageComposer(CamelBindingData.class, cmm, mcm);
    }
View Full Code Here


     * @param rebm a RESTEasyBindingModel to get configuration details from
     * @return the MessageComposer
     */
    public static MessageComposer<RESTEasyBindingData> getMessageComposer(RESTEasyBindingModel rebm) {
        ContextMapperModel cmm = rebm != null ? rebm.getContextMapper() : null;
        MessageComposerModel mcm = rebm != null ? rebm.getMessageComposer() : null;
        return Composition.getMessageComposer(RESTEasyBindingData.class, cmm, mcm);
    }
View Full Code Here

     * @param <D> jca binding data type
     * @return the MessageComposer
     */
    public static <D extends JCABindingData> MessageComposer<D> getMessageComposer(JCABindingModel jcabm, Class<D> bindingDataType) {
        ContextMapperModel cmm = jcabm != null ? jcabm.getContextMapper() : null;
        MessageComposerModel mcm = jcabm != null ? jcabm.getMessageComposer() : null;
        return Composition.getMessageComposer(bindingDataType, cmm, mcm);
    }
View Full Code Here

     * @param hbm a HttpBindingModel to get configuration details from
     * @return the MessageComposer
     */
    public static MessageComposer<HttpBindingData> getMessageComposer(HttpBindingModel hbm) {
        ContextMapperModel cmm = hbm != null ? hbm.getContextMapper() : null;
        MessageComposerModel mcm = hbm != null ? hbm.getMessageComposer() : null;
        MessageComposer<HttpBindingData> mc = Composition.getMessageComposer(HttpBindingData.class, cmm, mcm);
        if (mc instanceof HttpMessageComposer && mcm != null) {
            HttpMessageComposer smc = (HttpMessageComposer)mc;
            smc.setComposerConfig(mcm);
        }
View Full Code Here

TOP

Related Classes of org.switchyard.config.model.composer.MessageComposerModel

Copyright © 2018 www.massapicom. 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.