web stats
Can we create or install any new connector type in Mirth? - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 11-01-2018, 02:16 AM
asaxena asaxena is offline
Mirth Newb
 
Join Date: Jun 2017
Posts: 15
asaxena is on a distinguished road
Default Can we create or install any new connector type in Mirth?

Hi All,

I am just curious that, is there a way we can create or install custom connector type inside mirth same like TCP sender, File writer etc.

Thanks!
Reply With Quote
  #2  
Old 11-01-2018, 05:09 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 964
agermano is on a distinguished road
Default

Yes, it's possible. The connector types that come with Mirth are plugins themselves. There isn't really any good documentation on how to create them other than looking at how the others are implemented in the source code.
Reply With Quote
  #3  
Old 11-01-2018, 06:56 AM
Shamil Shamil is offline
OBX.3 Kenobi
 
Join Date: May 2013
Posts: 154
Shamil is on a distinguished road
Default

A wee note here is that you need to sign your connector with the Mirth certificate. Otherwise you have to rebuild the entire Mirth from the source.
Reply With Quote
  #4  
Old 11-01-2018, 04:50 PM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 964
agermano is on a distinguished road
Default

Why is that? I thought it just needed to be signed by a trusted certificate for the client component.
Reply With Quote
  #5  
Old 11-12-2018, 10:19 PM
asaxena asaxena is offline
Mirth Newb
 
Join Date: Jun 2017
Posts: 15
asaxena is on a distinguished road
Default

Thanks every one for your quick response. So I am looking for this answer because of a new task assigned to me, where I have to put the blob data from a FTP location to Microsoft azure blob container. Right now I am to do this by mirth but every thing is hard coded inside mirth code, e.g. azure account details, key details & FTP path etc. I want to know that is there any plugin or custom connector type which I can use to configure all these details in an easy manner. Just like we do for File Writer or TCP sender connector type.
Reply With Quote
  #6  
Old 11-13-2018, 08:47 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 964
agermano is on a distinguished road
Default

Typically, you can assign all those values to local variables at the top of your javascript writer so that they are easy to see and change.

As with a File Writer or TCP sender, you can store the credentials and connection properties in the configurationMap and read those values into your local variables if you don't want to define them in the channel itself.
Reply With Quote
Reply

Tags
general, important, mirth support

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 12:44 PM.


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