Configuring Camel Routing for Grails 3.0.4

Bright Dodo

I am using grails 3.0.4 and install-plugin doesn't work anymore. I have added routing plugin in gradle dependencies but I can use the command grails create-route as in the online examples. I have created my own route class in grails-app/routes but when I run grails doesn't seem to use the route at all. Is there extra config that I have to do like create a bean somewhere?

my class is as follows:

import org.apache.camel.builder.RouteBuilder

class TrackingMessageRoute extends RouteBuilder {
    def grailsApplication

    @Override
    void configure() {
        def config = grailsApplication?.config
        from('seda:input.queue').to('stream:out')
             from('mina2:tcp://localhost:553').to('stream:out')
    }
}
jstell

The routing plugin has not yet been updated for Grails 3. See https://github.com/grails/grails-core/wiki/Grails-3-Priority-Upgrade-Plugins for the Grails 3 readiness status of several important plugins.

Since Grails 3 is closely tied to Spring boot, it should be relatively easy to use Camel libraries directly (without need for a plugin). See http://camel.apache.org/spring-boot.html for potentially helpful info.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Configuring Grails 3 for Log4j2

From Dev

Configuring datasources at runtime with Camel

From Dev

Configuring jmxAgent in Camel

From Dev

Configuring Hibernate with grails

From Dev

Configuring and injecting Grails services

From Dev

Configuring Grails/Sonar in Eclipse

From Dev

Configuring Camel for Spring with MINA 2

From Dev

Camel exception handling in Grails

From Dev

Apache Camel Routing performance

From Dev

Camel routing from a ByteArrayInputStream

From Dev

Camel routing not working as expected

From Dev

Camel routing not working as expected

From Dev

Configuring static routing on three routers with IPv6 and IPv4

From Dev

Configuring database in grails - handling exception

From Dev

Grails - hibernate upgrade from 3 to 4

From Dev

How to resolve this error message "log4j:ERROR Property missing when configuring log4j: grails"

From Dev

apache camel routing queues issue

From Dev

Camel exception routing in a split EIP

From Dev

Camel - Configuring multiple component beans in Spring

From Dev

Grails stops at "Configuring classpath" even at a helloworld project

From Dev

How to Configuring concurrent execution property as false in grails

From Dev

How to Configuring concurrent execution property as false in grails

From Dev

Angular 4 - configuring systemjs

From Dev

Configuring network routing when multiple paths available

From Dev

Error configuring static routing using cli

From Dev

Spring Data Neo4j and Grails 3

From Dev

Configuring c3p0 property initialPoolSize and maxStatements using Hibernate

From Dev

Configuring C3P0 in Persistence.xml with JPA and Hibernate

From Dev

Configuring connection pool size with guice, mybatis, and c3p0 or bonecp

Related Related

HotTag

Archive