camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-1756) getEndpoint() should match for singleton endpoints even if url does not contain params
Date Tue, 30 Jun 2009 12:22:07 GMT

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

Claus Ibsen commented on CAMEL-1756:
------------------------------------

@Hadrian

I think we should resolve this with the queue components: direct, vm and seda
By letting the component hold a list of known queues.

Then the consumer/producer can do a lookup on the component for the queue to use and then
have their own parameters.

Then we can do the seda one that will not confuse end users.

Then they behave like JMS queues

> getEndpoint() should match for singleton endpoints even if url does not contain params
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1756
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1756
>             Project: Apache Camel
>          Issue Type: Improvement
>    Affects Versions: 1.6.1, 2.0-M2
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.6.2, 2.0.0
>
>
> When one uses endpoint injection, if the url does not exactly match, the CamelContext
will not find the endpoint (and create a new one).
> I think singleton Endpoint(s) should not be registered with the full url, just with the
url stripped of parameters, since they are mostly configuration and not necessarily relevant
to the producer.  Also if the configuration of a singleton endpoint will change slightly,
an update/recompile of the producer code is no longer necessary.
> I cannot think of a situation in which this improvement would cause problems.  I have
a fix for this but I'll wait a few days.  Thoughts?

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


Mime
View raw message