Re: [xmlblaster] Retrieve an external custom property in the '__sys__Event' messag e

2008-01-29 Thread Marcel Ruff

Hi Richard,

this information is not delivered.

However, I have coded it quickly and commited it (completely untested, 
no testsuite yet,

but it is no dangerous spot as not in the core and should work).
Please check xmlBlaster out from svn and try it and give feedback,

Marcel

[EMAIL PROTECTED] wrote:

Hi,

I want to capture the two following evenTypes : topic/*/event/subscribe and
topic/*/event/unSubscribe 


Following the advice of the REQ admin.event, my client (subscribing to
__sys__Event) receives effectively an event like the following when another
client invokes the subscribe() method :

 
  
 
 topic/*/event/subscribe
 
  __subId:heron-113681279891300
  heron
  ...
  topic/*/event/subscribe
  New subscription of client
/node/heron/client/joe/1 on topic airport
  1
  joe
  /node/heron/client/joe/1
  airport
 

My problem: 
I would like to retrieve a custom property set by the subscriber (who

invokes the subscribe() method) in the qos part of the previous message.

For example, a subscriber set a property like myProperty=1234 then call
con.subscribe() and I would like to receive a message like the following :

 
  
 
 topic/*/event/subscribe
 
  __subId:heron-113681279891300
  heron
  ...
  topic/*/event/subscribe
  New subscription of client
/node/heron/client/joe/1 on topic airport
  1
  joe
  /node/heron/client/joe/1
  airport
  1234
 

Is there any solution for my problem or any way to implement this sort of
functionality ? 


Thanks.




  



--
Marcel Ruff
http://www.xmlBlaster.org
http://watchee.net
Phone: +49 7551 309371



[xmlblaster] Retrieve an external custom property in the '__sys__Event' messag e

2008-01-29 Thread richard . aillet
Hi,

I want to capture the two following evenTypes : topic/*/event/subscribe and
topic/*/event/unSubscribe 

Following the advice of the REQ admin.event, my client (subscribing to
__sys__Event) receives effectively an event like the following when another
client invokes the subscribe() method :

 
  
 
 topic/*/event/subscribe
 
  __subId:heron-113681279891300
  heron
  ...
  topic/*/event/subscribe
  New subscription of client
/node/heron/client/joe/1 on topic airport
  1
  joe
  /node/heron/client/joe/1
  airport
 

My problem: 
I would like to retrieve a custom property set by the subscriber (who
invokes the subscribe() method) in the qos part of the previous message.

For example, a subscriber set a property like myProperty=1234 then call
con.subscribe() and I would like to receive a message like the following :

 
  
 
 topic/*/event/subscribe
 
  __subId:heron-113681279891300
  heron
  ...
  topic/*/event/subscribe
  New subscription of client
/node/heron/client/joe/1 on topic airport
  1
  joe
  /node/heron/client/joe/1
  airport
  1234
 

Is there any solution for my problem or any way to implement this sort of
functionality ? 

Thanks.