Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Issue faced while executing custom Itinerary Selector pipeline
- This topic has 0 replies, 1 voice, and was last updated 9 years, 2 months ago by
community-content.
-
AuthorPosts
-
-
July 29, 2010 at 1:26 AM #25433
Hi,
We are using BizTalk 2009 with ESB 2.0.
I am getting following error while executing custom Itinerary Selector receive pipeline from orchestration.
Description:
Cannot find CacheManager instance name Resolver Providers Cache Manager
Source: Microsoft.Practices.ESB.Resolver.ResolverMgr
Method: System.Collections.Generic.Dictionary`2[System.String,System.String]
Resolve(Microsoft.Practices.ESB.Resolver.ResolverInfo, Microsoft.BizTalk.Message.Interop.IBaseMessage, Microsoft.BizTalk.Component.Interop.IPipelineContext)
Error Source: Microsoft.Practices.EnterpriseLibrary.Common
Error TargetSite: T BuildUp[T](Microsoft.Practices.ObjectBuilder2.IReadWriteLocator, Microsoft.Practices.ObjectBuilder2.ILifetimeContainer, System.String, Microsoft.Practices.EnterpriseLibrary.Common.Configuration.IConfigurationSource)
Error StackTrace: at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.EnterpriseLibraryFactory.BuildUp[T](IReadWriteLocator locator, ILifetimeContainer lifetimeContainer, String id, IConfigurationSource configurationSource) at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.LocatorNameTypeFactoryBase`1.Create(String name) at Microsoft.Practices.EnterpriseLibrary.Caching.CacheFactory.GetCacheManager(String cacheManagerName) at Microsoft.Practices.ESB.Cache.Cache`1..ctor(String cacheMgrName) at Microsoft.Practices.ESB.Resolver.ResolverMgr.get_ResolverProviderCache() at Microsoft.Practices.ESB.Resolver.ResolverMgr.GetResolver(ResolverInfo info) at Microsoft.Practices.ESB.Resolver.ResolverMgr.Resolve(ResolverInfo info, IBaseMessage message, IPipelineContext pipelineContext)
Settings of ESB Itinerary selector
• connection string as BRI
• ItineraryFactKey as Resolver.Itinerary.
Settings of XML Disassembler
• Document Schema as Input Schema
Following code is used for calling pipeline: /
/Microsoft.XLANGs.Pipeline.ReceivePipelineOutputMessages
RcvPipeOutput = Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteReceivePipeline(typeof(Aon.WebSQP.BTSServiceCaller.AonESBReceivePipeline), Xout);
// Move to the message
RcvPipeOutput.MoveNext();
// Get the updated msg with itinerary assigned
ItineraryXMLMsg = null;
RcvPipeOutput.GetCurrent(ItineraryXMLMsg);
ItineraryXMLMsg(*)=Xout(*);
// Retrieve the current itinerary
step. itinerary = new Microsoft.Practices.ESB.Itinerary.SerializableItineraryWrapper();
step = new Microsoft.Practices.ESB.Itinerary.SerializableItineraryStepWrapper();
itinerary.Itinerary = Microsoft.Practices.ESB.Itinerary.ItineraryOMFactory.Create(ItineraryXMLMsg); step.ItineraryStep = itinerary.Itinerary.GetItineraryStep(ItineraryXMLMsg);
// Get resolvers
resolvers = step.ItineraryStep.ResolverCollection;
// Get the resolver for this
message resolver = resolvers[0];
// Pass the resolver configuration to the Resolver mgr for resolution.
resolverDictionary = Microsoft.Practices.ESB.Resolver.ResolverMgr.Resolve(ItineraryXMLMsg, resolver);
// Set the adapter properties
Microsoft.Practices.ESB.Adapter.AdapterMgr.SetEndpoint(resolverDictionary,ItineraryXMLMsg);
Is there any configuration issue? Please help me on this. Need help uegently.
Regards,
Netra
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.