yes it is quite easy now ;-) to mixe restlet and camel to use camel'EIP on
top of restlet engine in a jonas/tomcat AS

is is more easy than i think ;-)

finaly i use this dependencies :
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-core</artifactId>
            <version>${camel-version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-restlet</artifactId>
            <version>${camel-version}</version>
        </dependency>
        <dependency>
            <groupId>org.restlet.jee</groupId>
            <artifactId>org.restlet</artifactId>
            <version>2.0-M7</version>
        </dependency>
        <dependency>
            <groupId>org.restlet.jee</groupId>
            <artifactId>org.restlet.ext.servlet</artifactId>
            <version>2.0-M7</version>
        </dependency>
        <dependency>
            <groupId>org.restlet.jee</groupId>
            <artifactId>org.restlet.ext.spring</artifactId>
            <version>2.0-M7</version>
        </dependency>
        <dependency>
            <groupId>com.noelios.restlet</groupId>
            <artifactId>com.noelios.restlet</artifactId>
            <version>1.1.8</version>
        </dependency>
        <dependency>
            <groupId>com.noelios.restlet</groupId>
            <artifactId>com.noelios.restlet.ext.spring</artifactId>
            <version>1.1.8</version>
        </dependency>
        <dependency>
            <groupId>com.noelios.restlet</groupId>
            <artifactId>com.noelios.restlet.ext.servlet</artifactId>
            <version>1.1.8</version>
        </dependency>



and use a camel route : like

    <bean id="greeting" class="poc.camel.greeting.GreetingService" />

    <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring";>
      <route>
        <from uri="restlet:
http://127.0.0.1:9090/greeting?restletMethods=POST,GET"/>
            <process ref="greeting"></process>

      </route>
    </camelContext>

my 2 cents
Bruno

2010/2/10 Thierry Boileau [via Restlet Discuss] <
[email protected]<ml-node%[email protected]>
>

> Hello Bruno,
>
> regarding the dependencies, I think you can remove the
> "com.n​oelios.restlet" artifacts which reference the 1.1 branch. It should
> work without them.
>
> What do you mean by "and it works."? Are you able to send a post request to
> http://localhost:909​0/poc.camel.enabler-​0.0.1-SNAPSHOT<http://localhost:909%E2%80%8B0/poc.camel.enabler-%E2%80%8B0.0.1-SNAPSHOT>
>  and
> to 
> http://127.0.0.1:909​0/poc.camel.enabler-​0.0.1-SNAPSHOT<http://127.0.0.1%3A909%E2%80%8B0/poc.camel.enabler-%E2%80%8B0.0.1-SNAPSHOT>?
>
>
> Bet regards,
> Thierry Boileau
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2446519
>
>
> ------------------------------
>  View message @
> http://n2.nabble.com/ERROR-404-restlet-engine-or-camel-restlet-issue-tp4542589p4550816.html
> To unsubscribe from ERROR 404 : restlet engine or camel-restlet issue ?, click
> here< (link removed) =>.
>
>
>

-- 
View this message in context: 
http://n2.nabble.com/ERROR-404-restlet-engine-or-camel-restlet-issue-tp4542589p4550970.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2446536

Reply via email to