Forum Replies Created
-
AuthorPosts
-
Hi,
Try to do what the following MS article describes and see if this works:
http://msdn.microsoft.com/en-us/library/ms752241(VS.85).aspx
Daniel.
November 2, 2009 at 10:23 AM in reply to: How to throttle Receive location to pickup only 75 files per 15 minutes #23624Maybe you could build some sort of a throttle using the ideas that are found here at Richard Seroter’s blog
http://seroter.wordpress.com/2008/05/19/biztalk-orchestration-throttling-pattern/
Hi Daniel thanks for your reply and I have seen the link that you have sent but this link is talking about the Concept of Application Pool but I am running IIS 5.1 which does not have the Concept of App Pool so how do i deal with the IIS 5.1
Thanks
Hi Daniel,
One when I was publishing web BTS Schemas as Web Service, I was running BTS wizard, whish was creating web application, and some cs code in inetpub. I was changing that cs, just after the line which was “this.Invoke(..)” – it’s a method for putting message to message box.
It was two-way, but the response client received immidiately after putting message to message box.
Now, when I want to expose wcf service based on same schemas – actually I have no code, only schemas, and some binding. So, I exposed one-way web method.
Thank you.
Hi Yonathan,
You posed a question to me on another thread, regarding the use of custom behavior at the service level. It would be easier if you can show me what you are trying to change in your schemas and publish them afterwards.
Daniel.
Hi,
Check out this blog for more information on how to resolve your issue:
I hope this helps.
Daniel.
if we put the Qeue on Server B, the MSMQ adpater on Server B will have access the messages from the Local queue, which means MSMQ has to be installed on the Server B, which has BTS 2006 installed on it ?
And if MSMQ is intalled on Server B, then the remote Application on Server A will have to use web service to write messages to the queue which is on Server B …. please do clarify if I am missing out on anything …
November 2, 2009 at 3:45 AM in reply to: Orchestration exposed as a WCF can be exposed on the BTS box itself #23616No, both SOAP and WCF adapters require the web service to be hosted on a Biztalk Server.
Greg thanks again …
pobably I am repeating myself but just wanted to be sure …
So, ideally the MSMQ receive/send adpater on Server B is able to read as well as write messages to the remote Queue on Server A, I am talking about BTS 2006 and there is no need for any intermediate Web Service to read/write the messages and the BTS 2006 MSMQ adapter can do the same…
Also, for writing the messages to MSMQ server the Application on Server A would write the messages to MSMQ using MSMQ API’s available ….
Please do confirm the above 2 points . Thanks.
November 2, 2009 at 2:52 AM in reply to: Orchestration exposed as a WCF can be exposed on the BTS box itself #23614So does it mean, that the Orch that is exposed as Web Service can be exposed on a box which does not have Biztalk Server installed on it … ???
You need to put the queue on server B (the Biztalk Server) For guaranteed delivery you need to use a transactional queue. Biztalk only supports local transactional queues.
Server A will have the MSMQ software and operate as an independent client i.e. it will store and forward messages if the Biztalk server is down.
You cannot use load balancing with MSMQ ( the queue can only exist on one server at a time). For fail-over you will need to cluster the Biztalk servers.
http://msdn.microsoft.com/en-us/library/dd897482(BTS.10).aspxDisaster recovery is added complexity – the assumption is the entire data centre is lost and you must move every server to a new location. There are many variables that need to be taken into consideration here – network topology, web server switching, DNS, logging shipping databases or geo-clustering, recovery procedures, etc,etc. Do you already have a disaster recovery strategy/plan?
inside your helper class
You can create a method with the following. But this is for SQL server database. You need to change the interfaces for oracle database
//Write the Query
string sqlQuery = “SELECT * FROM table WHERE condition”;
string connectionString = Common.GetAppSetting(SERVER_CONNECTION);
//connect to database
SqlConnection connection = new SqlConnection(connectionString);
//run the SQL query
SqlCommand sqlComm = new SqlCommand(sqlQuery, connection);
SqlParameter myParam = new SqlParameter();
myParam.ParameterName = “@mydate”;
myParam.Value = DateTime;
sqlComm.Parameters.Add(myParam);
sqlComm.Connection.Open();
ArrayList recordList = new ArrayList();
SqlDataReader reader = sqlComm.ExecuteReader();
// add data to Array List
while (reader.Read())
{
object[] values = new object[reader.FieldCount];
reader.GetValues(values);
Employee employee = new Employee();
employee.EmployeeID = values[0].ToString();
employee.Guid = Guid.NewGuid().ToString();
recordList.Add(employee);
}
sqlComm.Connection.Close();
return recordList;
Hi,
I would like to share my experience with large message handling. But I don’t know it will go with your requirements. Anyway hope this will help
We have to transfer 5000 files including 2 GB sizes. So the application was designed to support Canonical Data Model. For example the message properties like
XYZ Message
– GUID
– Receive Filename
– Payload
File adaptor receives the message and custom pipeline component will take the message, create the canonical message then check the message size, if the massage size is less than 1 MB (configured value) then attached the message in to canonical message part payload section. If not stream the message into file location & save with the Guid and keep the message payload as empty. Anytime if the process wants s to track, uses the GUID as unique key.
But this is good if we don’t need to process internal data in the message.
The other thing that we have faced is ‘out of memory exception’ issue because we load XML Document in to the memory. To get rid of that we write to the message into the temporary file and using XMLReader creates a new message.
The other issue that we have faced that use XMLDocument messages inside the orchestration. After reviewing the code by Microsoft, recommended to use XLANGMessage .
Best regards,
Nandika
November 1, 2009 at 6:58 PM in reply to: How to throttle Receive location to pickup only 75 files per 15 minutes #23609 -
AuthorPosts