Its a header, so you can set a header value with that key from the Camel side.

And yeah dig into the unit tests and source code is a good idea

On Thu, Sep 4, 2014 at 3:22 PM, Deven Phillips <[email protected]> wrote:
> Use the source, Sharad! :P Anyhow, if you look at:
>
> https://github.com/apache/camel/blob/master/components/camel-websocket/src/main/java/org/apache/camel/component/websocket/WebsocketProducer.java#L49
>
> You will see that the connection key is a constant value and therefore
> cannot be set.
>
> Deven Phillips
>
>
> On Wed, Sep 3, 2014 at 7:03 PM, ssikka <[email protected]> wrote:
>
>> Hi ,
>>
>> I am trying to use apache camel websocket endpoint.
>> I am looking for an example of how to set the ConnectionKey on the  apache
>> camel websocket endpoint. Also how/where to specify the same  connection
>> key
>> on the websocket client.
>>
>> Thanks in advance,
>> Regards,
>> Sharad
>>
>>
>>
>> --
>> View this message in context:
>> http://camel.465427.n5.nabble.com/Camel-Websocket-Endpoint-Example-with-Connection-Key-tp5756032.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to