[jira] Created: (CAMEL-2135) camel-jetty producer supporting async request/reply

View: New views
11 Messages — Rating Filter:   Alert me  

[jira] Created: (CAMEL-2135) camel-jetty producer supporting async request/reply

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

camel-jetty producer supporting async request/reply
---------------------------------------------------

                 Key: CAMEL-2135
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2135
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-jetty
    Affects Versions: 2.0.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.1.0


See background here
http://wiki.eclipse.org/Jetty/Tutorial/HttpClient

Basically allowing to use {{jetty://http://someserver"}} in the {{to}} as well which instead of using HTTP client will use Jetty that supports async request/reply.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2135) camel-jetty producer supporting async request/reply

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55177#action_55177 ]

Claus Ibsen commented on CAMEL-2135:
------------------------------------

When we have upgraded to Apache HTTP client 4.0 it can also support async request/reply as well.

> camel-jetty producer supporting async request/reply
> ---------------------------------------------------
>
>                 Key: CAMEL-2135
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2135
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-jetty
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> See background here
> http://wiki.eclipse.org/Jetty/Tutorial/HttpClient
> Basically allowing to use {{jetty://http://someserver"}} in the {{to}} as well which instead of using HTTP client will use Jetty that supports async request/reply.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (CAMEL-2135) camel-jetty producer supporting async request/reply

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/activemq/browse/CAMEL-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-2135 started by Claus Ibsen.

> camel-jetty producer supporting async request/reply
> ---------------------------------------------------
>
>                 Key: CAMEL-2135
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2135
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-jetty
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> See background here
> http://wiki.eclipse.org/Jetty/Tutorial/HttpClient
> Basically allowing to use {{jetty://http://someserver"}} in the {{to}} as well which instead of using HTTP client will use Jetty that supports async request/reply.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2135) camel-jetty producer supporting async request/reply

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55207#action_55207 ]

Claus Ibsen commented on CAMEL-2135:
------------------------------------

trunk: 833429.

First batch of commit. This is work in progress.

> camel-jetty producer supporting async request/reply
> ---------------------------------------------------
>
>                 Key: CAMEL-2135
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2135
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-jetty
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> See background here
> http://wiki.eclipse.org/Jetty/Tutorial/HttpClient
> Basically allowing to use {{jetty://http://someserver"}} in the {{to}} as well which instead of using HTTP client will use Jetty that supports async request/reply.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CAMEL-2135) camel-jetty producer supporting async request/reply (non blocking)

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/activemq/browse/CAMEL-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-2135:
-------------------------------

    Summary: camel-jetty producer supporting async request/reply (non blocking)  (was: camel-jetty producer supporting async request/reply)

This is a *non blocking* variation where the original thread will terminate and when a reply is read a new thread is spawned that processed the reply. Well there is a thread pool for processing replies.

> camel-jetty producer supporting async request/reply (non blocking)
> ------------------------------------------------------------------
>
>                 Key: CAMEL-2135
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2135
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-jetty
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> See background here
> http://wiki.eclipse.org/Jetty/Tutorial/HttpClient
> Basically allowing to use {{jetty://http://someserver"}} in the {{to}} as well which instead of using HTTP client will use Jetty that supports async request/reply.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2135) camel-jetty producer supporting async request/reply (non blocking)

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55229#action_55229 ]

Claus Ibsen commented on CAMEL-2135:
------------------------------------

trunk: 834008

More work. What is left is a CAMEL-2151

> camel-jetty producer supporting async request/reply (non blocking)
> ------------------------------------------------------------------
>
>                 Key: CAMEL-2135
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2135
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-jetty
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> See background here
> http://wiki.eclipse.org/Jetty/Tutorial/HttpClient
> Basically allowing to use {{jetty://http://someserver"}} in the {{to}} as well which instead of using HTTP client will use Jetty that supports async request/reply.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2135) camel-jetty producer supporting async request/reply (non blocking)

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55265#action_55265 ]

Claus Ibsen commented on CAMEL-2135:
------------------------------------

trunk: 834452.

Aligned the http response handling code with the camel-http component.

> camel-jetty producer supporting async request/reply (non blocking)
> ------------------------------------------------------------------
>
>                 Key: CAMEL-2135
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2135
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-jetty
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> See background here
> http://wiki.eclipse.org/Jetty/Tutorial/HttpClient
> Basically allowing to use {{jetty://http://someserver"}} in the {{to}} as well which instead of using HTTP client will use Jetty that supports async request/reply.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2135) camel-jetty producer supporting async request/reply (non blocking)

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55298#action_55298 ]

Claus Ibsen commented on CAMEL-2135:
------------------------------------

trunk: 834834.

Now response parsing is implemented and shared between sync and async mode. Its also pluggable as the camel-http component

> camel-jetty producer supporting async request/reply (non blocking)
> ------------------------------------------------------------------
>
>                 Key: CAMEL-2135
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2135
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-jetty
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> See background here
> http://wiki.eclipse.org/Jetty/Tutorial/HttpClient
> Basically allowing to use {{jetty://http://someserver"}} in the {{to}} as well which instead of using HTTP client will use Jetty that supports async request/reply.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2135) camel-jetty producer supporting async request/reply (non blocking)

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55302#action_55302 ]

Claus Ibsen commented on CAMEL-2135:
------------------------------------

trunk: 834846.

Now handles timeout as camel-http does. Also added for other Jetty kind of failures.

> camel-jetty producer supporting async request/reply (non blocking)
> ------------------------------------------------------------------
>
>                 Key: CAMEL-2135
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2135
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-jetty
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> See background here
> http://wiki.eclipse.org/Jetty/Tutorial/HttpClient
> Basically allowing to use {{jetty://http://someserver"}} in the {{to}} as well which instead of using HTTP client will use Jetty that supports async request/reply.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-2135) camel-jetty producer supporting async request/reply (non blocking)

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/activemq/browse/CAMEL-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2135.
--------------------------------

    Resolution: Fixed

trunk: 835332.

> camel-jetty producer supporting async request/reply (non blocking)
> ------------------------------------------------------------------
>
>                 Key: CAMEL-2135
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2135
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-jetty
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> See background here
> http://wiki.eclipse.org/Jetty/Tutorial/HttpClient
> Basically allowing to use {{jetty://http://someserver"}} in the {{to}} as well which instead of using HTTP client will use Jetty that supports async request/reply.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2135) camel-jetty producer supporting async request/reply (non blocking)

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/activemq/browse/CAMEL-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55451#action_55451 ]

Claus Ibsen commented on CAMEL-2135:
------------------------------------

trunk: 880731.

Added CXF based example

> camel-jetty producer supporting async request/reply (non blocking)
> ------------------------------------------------------------------
>
>                 Key: CAMEL-2135
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2135
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-jetty
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> See background here
> http://wiki.eclipse.org/Jetty/Tutorial/HttpClient
> Basically allowing to use {{jetty://http://someserver"}} in the {{to}} as well which instead of using HTTP client will use Jetty that supports async request/reply.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Need professional support or training for Apache Camel? Graphic Design by Hiram and the Nabble Forum configured by James