web stats
using channel variables for SFTP destination - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 01-26-2011, 09:13 AM
Philoushka Philoushka is offline
OBX.2 Kenobi
 
Join Date: Jan 2009
Posts: 68
Philoushka is an unknown quantity at this point
Default using channel variables for SFTP destination

The goal is to store a collection of SFTP endpoint configuration details outside Mirth Connect.

The goal: For each message destined to this single File Writer(SFTP) Destination, we'd like to supply the SFTP configuration details from a database into channel variables. The channel variables would be used in the SFTP Destination like so:

Dest Transformer would contain: channelMap.put("mySftpUserName", 'foo');

${mySftpUserName} would then be the value in the textbox when defining/configuring the File Writer.

Is this configuration possible?
Are there any other ways of using channel variables as configuration details for an SFTP endpoint? Can I do this with plain old JavaScript instead?

Using the latest version of Mirth Connect (v 2.0.1.5164).

Any Mirth developers able to comment on this question or issue?

Last edited by Philoushka; 01-30-2011 at 05:46 PM.
Reply With Quote
  #2  
Old 01-30-2011, 05:47 PM
Philoushka Philoushka is offline
OBX.2 Kenobi
 
Join Date: Jan 2009
Posts: 68
Philoushka is an unknown quantity at this point
Default

Any Mirth developers able to comment on this question or issue?
Reply With Quote
Reply

Tags
destination, file writer, sftp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:54 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation