web stats

Mirth Connect

The VMRouter "router" object is not in the Javascript Reader/Writer scope.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.7.0
  • Fix Version/s: 1.7.1
  • Component/s: Server
  • Labels:
    None
  • Operating System:
    Windows XP

Description

The following code works in the Javascript Writer. However, only the second line should be required:

var router = new Packages.com.webreach.mirth.server.util.VMRouter;
router.routeMessage("Channel Name", messageObject.getEncodedData());

Activity

Hide
Gerald Bortis added a comment -
Refactored buildScope method to include the router in the scope.
Show
Gerald Bortis added a comment - Refactored buildScope method to include the router in the scope.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: