Assemblies, Timer
by portedquery on Mon, Jan 12 2009 11:23 AM
Hi Mike
In this case the Assembly is physically stored in the SmartsIntegrator database, the path you specify is irrelevant. Any attempt to load that assembly from any SmartsIntegrator server will load the copy stored in the SmartsIntegrator database. In this way it’s a real deployment aid, particularly if you have lots of servers. As I say the alternative approach is to use the GAC, but you’d have to manually install the assemblies on every server, or you should be able to copy assemblies into the SI installation folder, but adding them to Static Config is usually the easiest approach.
Multiple versions of an assembly can be stored in parallel, provided the assembly version is different (as set by the assembly info attributes). Alternatively you can delete and then re-add an assembly with the same version number, in which case servers will use the new version as and when they are restarted – that is they will continue to use any previously loaded copy until restarted unless the version number changes.
You are completely correct in relation to the Timer transport, you can combine the interval with the Active Period.
We’ll update the help file shortly with more specific information in relation to these areas.
Let me know if I can help further,
Thanks,
Ben.
================================================================================
Hi Ben,
Thanks for the reply....Once you add the assemblies to the Static Config, do you need to reference the assembly in VSTA from a particular path or does it not matter? When you say you store the assembly in the repository, is it stored physically in the database? Do you actually write it out anywhere to the file system? I’m just wondering how new versions of the same assembly are dealt with?
Also, just to check, for the Timer Receive port, does the Timer fire the message into the port from the Synch Time for the configured period? So if I wanted to fire a message every 10 minutes for only an hour, I can do this by coupling it with the Active Period config?
Have a good weekend
Mike