You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Edward Campbell (JIRA)" <ji...@apache.org> on 2009/06/05 22:55:50 UTC

[jira] Created: (CAMEL-1676) Endpoint.getParticipant should return Endpoint.getUser() if participant is null.

Endpoint.getParticipant should return Endpoint.getUser() if participant is null.
--------------------------------------------------------------------------------

                 Key: CAMEL-1676
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1676
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-xmpp
    Affects Versions: 1.6.1, 2.0-M1
            Reporter: Edward Campbell


The participant should default to the user  if the participant is null.

    public String getParticipant() {
        return participant != null ? participant : getUser();
    }



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


[jira] Updated: (CAMEL-1676) Endpoint.getParticipant should return Endpoint.getUser() if participant is null.

Posted by "Edward Campbell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Campbell updated CAMEL-1676:
-----------------------------------

    Description: 
The participant should default to the user  if the participant is null.

    public String getParticipant() {

        return participant != null ? participant : getUser();

    }



  was:
The participant should default to the user  if the participant is null.

    public String getParticipant() {
        return participant != null ? participant : getUser();
    }




> Endpoint.getParticipant should return Endpoint.getUser() if participant is null.
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-1676
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1676
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-xmpp
>    Affects Versions: 2.0-M1, 1.6.1
>            Reporter: Edward Campbell
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> The participant should default to the user  if the participant is null.
>     public String getParticipant() {
>         return participant != null ? participant : getUser();
>     }

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


[jira] Updated: (CAMEL-1676) Endpoint.getParticipant should return Endpoint.getUser() if participant is null.

Posted by "Edward Campbell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Campbell updated CAMEL-1676:
-----------------------------------

    Description: 
The participant should default to the user  if the participant is null.

{code:java}
    public String getParticipant() {
        return participant != null ? participant : getUser();
    }
{code}



  was:
The participant should default to the user  if the participant is null.

    {code:java}
    public String getParticipant() {
        return participant != null ? participant : getUser();
    }




> Endpoint.getParticipant should return Endpoint.getUser() if participant is null.
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-1676
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1676
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-xmpp
>    Affects Versions: 2.0-M1, 1.6.1
>            Reporter: Edward Campbell
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> The participant should default to the user  if the participant is null.
> {code:java}
>     public String getParticipant() {
>         return participant != null ? participant : getUser();
>     }
> {code}

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


[jira] Updated: (CAMEL-1676) Endpoint.getParticipant should return Endpoint.getUser() if participant is null.

Posted by "Edward Campbell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Campbell updated CAMEL-1676:
-----------------------------------

    Description: 
The participant should default to the user  if the participant is null.

    public String getParticipant() {\\
        return participant != null ? participant : getUser();\\
    }\\



  was:
The participant should default to the user  if the participant is null.

    public String getParticipant() {

        return participant != null ? participant : getUser();

    }




> Endpoint.getParticipant should return Endpoint.getUser() if participant is null.
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-1676
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1676
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-xmpp
>    Affects Versions: 2.0-M1, 1.6.1
>            Reporter: Edward Campbell
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> The participant should default to the user  if the participant is null.
>     public String getParticipant() {\\
>         return participant != null ? participant : getUser();\\
>     }\\

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


[jira] Commented: (CAMEL-1676) Endpoint.getParticipant should return Endpoint.getUser() if participant is null.

Posted by "Edward Campbell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52124#action_52124 ] 

Edward Campbell commented on CAMEL-1676:
----------------------------------------

The change should replace the getParticipant method in org.apache.camel.component.xmpp.XmppEndpoint.java
Without the change, the participant needs to be specified for all XMPP connections, which is not desirable, since participant is an optional parameter.

> Endpoint.getParticipant should return Endpoint.getUser() if participant is null.
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-1676
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1676
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-xmpp
>    Affects Versions: 2.0-M1, 1.6.1
>            Reporter: Edward Campbell
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> The participant should default to the user  if the participant is null.
> {code:java}
>     public String getParticipant() {
>         return participant != null ? participant : getUser();
>     }
> {code}

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


[jira] Commented: (CAMEL-1676) Endpoint.getParticipant should return Endpoint.getUser() if participant is null.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52094#action_52094 ] 

Claus Ibsen commented on CAMEL-1676:
------------------------------------

Where exactly do you want this change?

And what is it good for?

> Endpoint.getParticipant should return Endpoint.getUser() if participant is null.
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-1676
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1676
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-xmpp
>    Affects Versions: 2.0-M1, 1.6.1
>            Reporter: Edward Campbell
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> The participant should default to the user  if the participant is null.
> {code:java}
>     public String getParticipant() {
>         return participant != null ? participant : getUser();
>     }
> {code}

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


[jira] Resolved: (CAMEL-1676) Endpoint.getParticipant should return Endpoint.getUser() if participant is null.

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1676.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.6.2
         Assignee: Claus Ibsen

trunk: 782681.
1.x: 782682.

> Endpoint.getParticipant should return Endpoint.getUser() if participant is null.
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-1676
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1676
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-xmpp
>    Affects Versions: 2.0-M1, 1.6.1
>            Reporter: Edward Campbell
>            Assignee: Claus Ibsen
>             Fix For: 1.6.2, 2.0.0
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> The participant should default to the user  if the participant is null.
> {code:java}
>     public String getParticipant() {
>         return participant != null ? participant : getUser();
>     }
> {code}

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


[jira] Updated: (CAMEL-1676) Endpoint.getParticipant should return Endpoint.getUser() if participant is null.

Posted by "Edward Campbell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Campbell updated CAMEL-1676:
-----------------------------------

    Description: 
The participant should default to the user  if the participant is null.

    public String getParticipant() {
        return participant != null ? participant : getUser();
    }



  was:
The participant should default to the user  if the participant is null.

    public String getParticipant() {\\
        return participant != null ? participant : getUser();\\
    }\\




> Endpoint.getParticipant should return Endpoint.getUser() if participant is null.
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-1676
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1676
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-xmpp
>    Affects Versions: 2.0-M1, 1.6.1
>            Reporter: Edward Campbell
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> The participant should default to the user  if the participant is null.
>     public String getParticipant() {
>         return participant != null ? participant : getUser();
>     }

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


[jira] Updated: (CAMEL-1676) Endpoint.getParticipant should return Endpoint.getUser() if participant is null.

Posted by "Edward Campbell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Campbell updated CAMEL-1676:
-----------------------------------

    Description: 
The participant should default to the user  if the participant is null.

    {code:java}
    public String getParticipant() {
        return participant != null ? participant : getUser();
    }



  was:
The participant should default to the user  if the participant is null.

{code:java}
    public String getParticipant() {
        return participant != null ? participant : getUser();
    }




> Endpoint.getParticipant should return Endpoint.getUser() if participant is null.
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-1676
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1676
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-xmpp
>    Affects Versions: 2.0-M1, 1.6.1
>            Reporter: Edward Campbell
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> The participant should default to the user  if the participant is null.
>     {code:java}
>     public String getParticipant() {
>         return participant != null ? participant : getUser();
>     }

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


[jira] Updated: (CAMEL-1676) Endpoint.getParticipant should return Endpoint.getUser() if participant is null.

Posted by "Edward Campbell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Campbell updated CAMEL-1676:
-----------------------------------

    Description: 
The participant should default to the user  if the participant is null.

{code:java}
    public String getParticipant() {
        return participant != null ? participant : getUser();
    }



  was:
The participant should default to the user  if the participant is null.

    public String getParticipant() {
        return participant != null ? participant : getUser();
    }




> Endpoint.getParticipant should return Endpoint.getUser() if participant is null.
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-1676
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1676
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-xmpp
>    Affects Versions: 2.0-M1, 1.6.1
>            Reporter: Edward Campbell
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> The participant should default to the user  if the participant is null.
> {code:java}
>     public String getParticipant() {
>         return participant != null ? participant : getUser();
>     }

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