[
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.