Skip to Content.
Sympa Menu

grouper-users - [grouper-users] XMPP notification filter to include GROUP_ADD and GROUP_DELETE

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] XMPP notification filter to include GROUP_ADD and GROUP_DELETE


Chronological Thread 
  • From: Erik Froese <>
  • To:
  • Subject: [grouper-users] XMPP notification filter to include GROUP_ADD and GROUP_DELETE
  • Date: Wed, 9 Mar 2011 17:04:16 -0500

Hey,

I'm trying to use the XMPP/ESB component to send group and membership
events via XMPP. So far the membership events are sent but not the
group add/delete events.

Here's the filter I'm using (broken up for readability)

(event.eventType eq 'GROUP_DELETE' ||
event.eventType eq 'GROUP_ADD' ||
event.eventType eq 'MEMBERSHIP_DELETE' ||
event.eventType eq 'MEMBERSHIP_ADD')
&& event.groupName =~ '^nyu\:apps\:atlas\:.*$'

I cranked up the logging on the EsbConsumer class to DEBUG.

Here's the excerpt from the log.
2011-03-09 16:58:00,055: [DefaultQuartzScheduler_Worker-6] DEBUG
EsbConsumer.processChangeLogEntries(56) - - Processing event number
241
2011-03-09 16:58:00,055: [DefaultQuartzScheduler_Worker-6] DEBUG
EsbConsumer.processChangeLogEntries(79) - - Event is GROUP_DELETE
2011-03-09 16:58:00,056: [DefaultQuartzScheduler_Worker-6] DEBUG
EsbConsumer.addSubjectAttributes(536) - - Adding subject attributes
to event
2011-03-09 16:58:00,059: [DefaultQuartzScheduler_Worker-6] DEBUG
EsbConsumer.processChangeLogEntries(453) - - Event 241 does not match
consumer filter (event.eventType eq 'GROUP_DELETE' || event.eventType
eq 'GROUP_ADD' || event.eventType eq 'MEMBERSHIP_DELETE' ||
event.eventType eq 'MEMBERSHIP_ADD') && event.groupName =~
'^nyu\:apps\:atlas\:.*$'

The group was in the nyu:apps:atlas stem and membership events for
that group were previously sent.

Am I missing something?

Erik



Archive powered by MHonArc 2.6.16.

Top of Page