Try OpenEdge Now
skip to main content
BP Server Developer's Guide
JMS based event publisher : Event channels : Event channel examples : Modifying an event channel
 
Modifying an event channel
The following example shows how the above channel is modified.
EventChannel evtchn = EventChannel.get("jms/MyQueue");
evtchn.setChannelExpirationDate( (new Date()).getTime() + 86400000); //
today+1day
evtchn.save();