Package quickfix

Examples of quickfix.DefaultMessageFactory


        component = new QuickfixjComponent();
        component.setCamelContext(camelContext);
        camelContext.addComponent("quickfix", component);
       
        if (injectQfjPlugins) {
            engineMessageFactory = new DefaultMessageFactory();
            engineMessageStoreFactory = new MemoryStoreFactory();
            engineLogFactory = new ScreenLogFactory();
           
            component.setMessageFactory(engineMessageFactory);
            component.setMessageStoreFactory(engineMessageStoreFactory);
View Full Code Here


        addEventListener(messageCorrelator);

        this.uri = uri;
        this.forcedShutdown = forcedShutdown;
       
        messageFactory = messageFactoryOverride != null ? messageFactoryOverride : new DefaultMessageFactory();
        sessionLogFactory = sessionLogFactoryOverride != null ? sessionLogFactoryOverride : inferLogFactory(settings);
        messageStoreFactory = messageStoreFactoryOverride != null ? messageStoreFactoryOverride : inferMessageStoreFactory(settings);

        // Set default session schedule if not specified in configuration
        if (!settings.isSetting(Session.SETTING_START_TIME)) {
View Full Code Here

            MessageFactory messageFactoryOverride) throws ConfigError, FieldConvertError, IOException, JMException {

        this.uri = uri;
        this.forcedShutdown = forcedShutdown;
       
        messageFactory = messageFactoryOverride != null ? messageFactoryOverride : new DefaultMessageFactory();

        sessionLogFactory = sessionLogFactoryOverride != null ? sessionLogFactoryOverride : inferLogFactory(settings);

        messageStoreFactory = messageStoreFactoryOverride != null ? messageStoreFactoryOverride
                : inferMessageStoreFactory(settings);
View Full Code Here

        addEventListener(messageCorrelator);

        this.uri = uri;
        this.forcedShutdown = forcedShutdown;
       
        messageFactory = messageFactoryOverride != null ? messageFactoryOverride : new DefaultMessageFactory();
        sessionLogFactory = sessionLogFactoryOverride != null ? sessionLogFactoryOverride : inferLogFactory(settings);
        messageStoreFactory = messageStoreFactoryOverride != null ? messageStoreFactoryOverride : inferMessageStoreFactory(settings);

        // Set default session schedule if not specified in configuration
        if (!settings.isSetting(Session.SETTING_START_TIME)) {
View Full Code Here

        DefaultCamelContext camelContext = new DefaultCamelContext();
        component = new QuickfixjComponent();
        component.setCamelContext(camelContext);
       
        if (injectQfjPlugins) {
            engineMessageFactory = new DefaultMessageFactory();
            engineMessageStoreFactory = new MemoryStoreFactory();
            engineLogFactory = new ScreenLogFactory();
           
            component.setMessageFactory(engineMessageFactory);
            component.setMessageStoreFactory(engineMessageStoreFactory);
View Full Code Here

        addEventListener(messageCorrelator);

        this.uri = uri;
        this.forcedShutdown = forcedShutdown;
       
        messageFactory = messageFactoryOverride != null ? messageFactoryOverride : new DefaultMessageFactory();
        sessionLogFactory = sessionLogFactoryOverride != null ? sessionLogFactoryOverride : inferLogFactory(settings);
        messageStoreFactory = messageStoreFactoryOverride != null ? messageStoreFactoryOverride : inferMessageStoreFactory(settings);

        // Set default session schedule if not specified in configuration
        if (!settings.isSetting(Session.SETTING_START_TIME)) {
View Full Code Here

        component = new QuickfixjComponent();
        component.setCamelContext(camelContext);
        camelContext.addComponent("quickfix", component);
       
        if (injectQfjPlugins) {
            engineMessageFactory = new DefaultMessageFactory();
            engineMessageStoreFactory = new MemoryStoreFactory();
            engineLogFactory = new ScreenLogFactory();
           
            component.setMessageFactory(engineMessageFactory);
            component.setMessageStoreFactory(engineMessageStoreFactory);
View Full Code Here

        addEventListener(messageCorrelator);

        this.uri = uri;
        this.forcedShutdown = forcedShutdown;
       
        messageFactory = messageFactoryOverride != null ? messageFactoryOverride : new DefaultMessageFactory();
        sessionLogFactory = sessionLogFactoryOverride != null ? sessionLogFactoryOverride : inferLogFactory(settings);
        messageStoreFactory = messageStoreFactoryOverride != null ? messageStoreFactoryOverride : inferMessageStoreFactory(settings);

        // Set default session schedule if not specified in configuration
        if (!settings.isSetting(Session.SETTING_START_TIME)) {
View Full Code Here

            ClassLoader ccl = Thread.currentThread().getContextClassLoader();
            try {
                Thread.currentThread().setContextClassLoader(getClass().getClassLoader());

                acceptor = new SocketAcceptor(application, storeFactory, settings, logFactory,
                                              new DefaultMessageFactory());

                acceptor.start();
                if (LOG.isDebugEnabled()) {
                    LOG.debug("Start the accetpor endpoint");
                }
View Full Code Here

            ClassLoader ccl = Thread.currentThread().getContextClassLoader();
            try {
                Thread.currentThread().setContextClassLoader(getClass().getClassLoader());

                initiator = new SocketInitiator(application, storeFactory, settings, logFactory,
                                                new DefaultMessageFactory());

                initiator.start();
               
                if (LOG.isDebugEnabled()) {
                    LOG.debug("Start the initiator endpoint");
View Full Code Here

TOP

Related Classes of quickfix.DefaultMessageFactory

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.