0

Is there anyway to intercept messages going to/from a java app and an activeMQ queue?

Any opensource utilities I can avail of?

Thanks Damien

Damien
  • 4,081
  • 12
  • 75
  • 126

1 Answers1

1

You can use aspect-oriented programming.

But it does beg the question: why would you want to do this? Logging, monitoring, alerting? Those are all cross-cutting concerns that AOP can address.

duffymo
  • 305,152
  • 44
  • 369
  • 561
  • thats a good suggestion. Im really looking for a quick once off tool I can use for a proof of concept. Im in a situation where messages are being taken off the queue, but im not getting the expected output in my code. I have used the tcp/ip filter ine eclipse previously for viewing soap requests and responses and found it extremely useful – Damien Nov 06 '10 at 17:27
  • 1
    I'd use something like a packet sniffer or Fiddler to do it. – duffymo Nov 06 '10 at 18:17
  • AOP has been deprecated. – Daniel Bo May 20 '18 at 15:31
  • By whom? Can still do it in Spring. – duffymo May 20 '18 at 15:32