You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Thygesen (JIRA)" <de...@uima.apache.org> on 2011/03/18 14:15:29 UTC

[jira] Created: (UIMA-2093) uimaj-as-camel should be updated to work with newer version of camel

uimaj-as-camel should be updated to work with newer version of camel
--------------------------------------------------------------------

                 Key: UIMA-2093
                 URL: https://issues.apache.org/jira/browse/UIMA-2093
             Project: UIMA
          Issue Type: Improvement
          Components: Async Scaleout
            Reporter: Peter Thygesen
            Priority: Minor


I have noticed that the constructor of the UimaAsComponent does not work with newer versions of camel. Somewhere along the releases the component uri "uimadriver:tcp://localhost:61616?queue=uima" would arrive as "uimadriver://tcp://localhost:61616?queue=uima" causing an invalid broker address.  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (UIMA-2093) uimaj-as-camel should be updated to work with newer version of camel

Posted by "Marshall Schor (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009192#comment-13009192 ] 

Marshall Schor commented on UIMA-2093:
--------------------------------------

Thanks, Peter.  Is this a backwards-compatibile change, and if not, what is your thought on that?

> uimaj-as-camel should be updated to work with newer version of camel
> --------------------------------------------------------------------
>
>                 Key: UIMA-2093
>                 URL: https://issues.apache.org/jira/browse/UIMA-2093
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Async Scaleout
>            Reporter: Peter Thygesen
>            Priority: Minor
>         Attachments: uimaj-as-camel.patch
>
>
> I have noticed that the constructor of the UimaAsComponent does not work with newer versions of camel. Somewhere along the releases the component uri "uimadriver:tcp://localhost:61616?queue=uima" would arrive as "uimadriver://tcp://localhost:61616?queue=uima" causing an invalid broker address.  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (UIMA-2093) uimaj-as-camel should be updated to work with newer version of camel

Posted by "Peter Thygesen (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157317#comment-13157317 ] 

Peter Thygesen commented on UIMA-2093:
--------------------------------------

Sorry for the long reply time :/

It looks like my "patch" is not backward compatible as camel did some API refactoring and internal changes at version 2.0.
http://camel.apache.org/camel-20-design.html

You repository version of UimaAsComponent extends DefaultComponent<Exchange> which has been refactor-ed. They got rid of the generics part. Another non backward compatibility problem is my changes of some constructors. I added a configuration class to make the configuration and constructor calls a little more simple (other newer camel components also uses this approach)

My patch is only compatible with camel 2.x


Med venlig hilsen / Best Regards,

Peter Thygesen
                
> uimaj-as-camel should be updated to work with newer version of camel
> --------------------------------------------------------------------
>
>                 Key: UIMA-2093
>                 URL: https://issues.apache.org/jira/browse/UIMA-2093
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Async Scaleout
>            Reporter: Peter Thygesen
>            Priority: Minor
>         Attachments: uimaj-as-camel.patch
>
>
> I have noticed that the constructor of the UimaAsComponent does not work with newer versions of camel. Somewhere along the releases the component uri "uimadriver:tcp://localhost:61616?queue=uima" would arrive as "uimadriver://tcp://localhost:61616?queue=uima" causing an invalid broker address.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (UIMA-2093) uimaj-as-camel should be updated to work with newer version of camel

Posted by "Peter Thygesen (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Thygesen updated UIMA-2093:
---------------------------------

    Attachment: uimaj-as-camel.patch

I have refactored the code to use newer interfaces and to use mere camel component like parameter extraction.
Tested it in camel 2.6.0.
Here is my idea of how you could update the camel component.

/Peter Thygesen

> uimaj-as-camel should be updated to work with newer version of camel
> --------------------------------------------------------------------
>
>                 Key: UIMA-2093
>                 URL: https://issues.apache.org/jira/browse/UIMA-2093
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Async Scaleout
>            Reporter: Peter Thygesen
>            Priority: Minor
>         Attachments: uimaj-as-camel.patch
>
>
> I have noticed that the constructor of the UimaAsComponent does not work with newer versions of camel. Somewhere along the releases the component uri "uimadriver:tcp://localhost:61616?queue=uima" would arrive as "uimadriver://tcp://localhost:61616?queue=uima" causing an invalid broker address.  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (UIMA-2093) uimaj-as-camel should be updated to work with newer version of camel

Posted by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284852#comment-13284852 ] 

Jerry Cwiklik commented on UIMA-2093:
-------------------------------------

Deferred beyond 2.4.0 release
                
> uimaj-as-camel should be updated to work with newer version of camel
> --------------------------------------------------------------------
>
>                 Key: UIMA-2093
>                 URL: https://issues.apache.org/jira/browse/UIMA-2093
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Async Scaleout
>            Reporter: Peter Thygesen
>            Priority: Minor
>         Attachments: uimaj-as-camel.patch
>
>
> I have noticed that the constructor of the UimaAsComponent does not work with newer versions of camel. Somewhere along the releases the component uri "uimadriver:tcp://localhost:61616?queue=uima" would arrive as "uimadriver://tcp://localhost:61616?queue=uima" causing an invalid broker address.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira