Package quickfix

Examples of quickfix.DefaultMessageFactory


            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

        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

                    new LogFactory[] { new ScreenLogFactory(settings),
                                       new JdbcLogFactory(settings)});
            } else {
                logFactory = new ScreenLogFactory(settings);
            }
            MessageFactory messageFactory = new DefaultMessageFactory();
            acceptor = new SocketAcceptor
                    ( application, messageStoreFactory,
                            settings, logFactory, messageFactory );
        } catch (ConfigError e) {
            e.printStackTrace();
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 {
        addEventListener(messageCorrelator);

        this.uri = uri;
       
        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

        }
       
        SessionSettings settings = new SessionSettings(inputStream);

        // TODO Make the message factory configurable for advanced users
        messageFactory = new DefaultMessageFactory();
        sessionLogFactory = inferLogFactory(settings);
        messageStoreFactory = inferMessageStoreFactory(settings);

        // Set default session schedule if not specified in configuration       
        if (!settings.isSetting(Session.SETTING_START_TIME)) {
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

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.