Examples of RubyStompletMetaData


Examples of org.torquebox.stomp.RubyStompletMetaData

                String destinationPattern = (String) config.get( "route" );
                String rubyClassName = (String) config.get( "class" );
                Map<String, String> stompletConfig = (Map<String, String>) config.get( "config" );

                RubyStompletMetaData metaData = new RubyStompletMetaData( name );
                metaData.setDestinationPattern( destinationPattern );
                metaData.setRubyClassName( rubyClassName );
                metaData.setRubyRequirePath( StringUtils.underscore( rubyClassName.trim() ) );
                metaData.setStompletConfig( stompletConfig );

                metaData.attachTo( unit );
            }
        }

    }
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.