James.Strachan wrote: > > I've just patched SVN trunk so that you can specify no service or > interface names and match all messages sent to all endpoints. You can > add an optional SubscriptionFilter to just atch certain message > exchanges (e.g. content based routing etc). > > > On 7/7/06, kitplummer <[EMAIL PROTECTED]> wrote: >> >> >> James.Strachan wrote: >> > >> > The NMR is logically similar to using Queues in JMS in that messages >> > are load balanced across consumers (endpoints) and one message >> > exchange goes to exactly one endpoint. >> > >> > ServiceMix supports the idea of pubilsh subscribe (or Topics in >> > JMS-speak) so that you can watch what messages go through the NMR such >> > as for tracing, audit and general purpose things; where you just want >> > to listen to whats going on but not be part of the actual business >> > flow... >> > >> > e.g. in the routing documentation >> > http://incubator.apache.org/servicemix/routing.html >> > >> > we describe the pub/sub support >> > http://incubator.apache.org/servicemix/publish-subscribe-routing.html >> > >> > So you could use that to plug in your own monitor/log features. Or you >> > could use the ServiceMix Auditor which allows messages to be >> > persisted, queried & replayed... >> > >> > >> http://incubator.apache.org/servicemix/maven/servicemix-core/apidocs/org/apache/servicemix/jbi/audit/package-summary.html >> > >> > >> > On 7/7/06, kitplummer <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> bsnyder wrote: >> >> > >> >> > On 7/6/06, kitplummer <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> Is there an easy/simple way to capture all NormalizedMessages off >> the >> >> >> NMR? >> >> > >> >> > I don't know if an easy way to do this. What exactly are you trying >> to >> >> > achieve? >> >> > >> >> > Bruce >> >> > -- >> >> > perl -e 'print >> >> > unpack("u30","D0G)[EMAIL >> >> > PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" >> >> > );' >> >> > >> >> > Apache Geronimo - http://geronimo.apache.org/ >> >> > Apache ActiveMQ - http://incubator.apache.org/activemq/ >> >> > Apache ServiceMix - http://incubator.apache.org/servicemix/ >> >> > Castor - http://castor.org/ >> >> > >> >> > >> >> >> >> Curiosity, more than anything. A potential use if we could get all >> >> messages >> >> would be to playback a sequence of time or an entire operational >> period, >> >> by >> >> putting all messages back on the NMR in correct timing patterns. >> >> Basically, >> >> we need to capture telemetry. We already have a mechanism to get >> status >> >> from services. However, being able to capture all message traffic, >> >> regardless of destination could be highly useful and would prevent any >> >> new >> >> requirements on our service providers. >> >> >> >> But, if we can capture the "raw" messages of the NMR it provides a new >> >> design option...one that I am hoping exists. >> >> >> >> >> > >> > >> > -- >> > >> > James >> > ------- >> > http://radio.weblogs.com/0112098/ >> > >> > >> >> Thanks James. I'll follow those links. But, I don't want to have to >> know >> about any endpoints a priori. I suppose I could retrieve all of the >> endpoints registered. That might be the trick anyway... >> >> > > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > >
Cool James. Is your method using the pub/sub mechanism? So, I just need to set up a subscriptionSpec with no service? That'd be a really cool tool for us... -- View this message in context: http://www.nabble.com/Capture-any-message-off-the-NMR--tf1902644.html#a5218738 Sent from the ServiceMix - User forum at Nabble.com.
