- Timestamp:
- 05/23/13 15:57:57 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/objectmq/src/omq/common/broker/Broker.java
r18 r21 95 95 } 96 96 } 97 98 99 public static void trigger(Event event) throws IOException, SerializerException{ 97 98 public static void trigger(Event event) throws IOException, SerializerException { 100 99 String UID = event.getTopic(); 101 100 EventWrapper wrapper = new EventWrapper(event); 101 System.out.println("EventTrigger fanout exchange: " + UID + " Event topic: " + UID + " Event corrID: " + event.getCorrId()); 102 102 channel.exchangeDeclare(UID, "fanout"); 103 103 channel.basicPublish(UID, "", null, Serializer.serialize(wrapper));
Note: See TracChangeset
for help on using the changeset viewer.