Beispiel #1
0
 protected UMOEndpointURI getInDest() {
   try {
     return new MuleEndpointURI("multicast://228.8.9.10:6677");
   } catch (MalformedEndpointException e) {
     fail(e.getMessage());
     return null;
   }
 }
Beispiel #2
0
 protected UMOEndpointURI getOutDest() {
   try {
     return new MuleEndpointURI(OUT_URL);
   } catch (MalformedEndpointException e) {
     e.printStackTrace();
     fail(e.getMessage());
     return null;
   }
 }
Beispiel #3
0
 protected UMOEndpointURI getDLDest() {
   try {
     if (cnn instanceof QueueConnection) {
       return new MuleEndpointURI(DEFAULT_DL_QUEUE);
     } else {
       return new MuleEndpointURI(DEFAULT_DL_TOPIC);
     }
   } catch (MalformedEndpointException e) {
     fail(e.getMessage());
     return null;
   }
 }