is this possible? or would it have to be done dynamically?
thanks!
is this possible? or would it have to be done dynamically?
thanks!
You need to create two transfer factories with different DSNs.
Basically register two TransferLoader interceptors with different transfer keys, etc.and you are good.
Luis F. Majano
President
Ortus Solutions, Corp
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com
How would i distinguish the two? name them differently?
yes, this is 3.0 only.
Each interceptor declaration can also have a “name” attribute, so use it to name it.
Luis F. Majano
President
Ortus Solutions, Corp
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com
so what if my transfer is lightwired?
2 different singletons?
ohh, then you don’t have to worry then. Do it all in lightwire.
Luis F. Majano
President
Ortus Solutions, Corp
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com
Yup, that’s what I did…everything is working like a charm now!