Package org.jboss.seam.jms.annotations

Examples of org.jboss.seam.jms.annotations.Routing


                log.debug("In method " + m.getJavaMember().getName() + " with param type " + ap.getBaseType());
            }
            Class<?> intfClazz = m.getJavaMember().getDeclaringClass();
            String methodName = m.getJavaMember().getName();
            String routeId = intfClazz.getCanonicalName() + "." + methodName;
            Routing routing = null;
            if (m.isAnnotationPresent(Routing.class)) {
                routing = m.getAnnotation(Routing.class);
            } else {
                log.debug("Routing not found on method " + m.getJavaMember().getName());
            }
            RouteType routeType = (routing == null) ? RouteType.BOTH : routing.value();
            Route route = new RouteImpl(routeType).id(routeId);
            boolean isResourced = m.isAnnotationPresent(Resource.class);
            if (isResourced) {
                Resource r = m.getAnnotation(Resource.class);
                log.debug("Loading resource " + r.mappedName());
View Full Code Here

TOP

Related Classes of org.jboss.seam.jms.annotations.Routing

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.