by =?Utf-8?B?U3VwZXIgTWljaw==?= <SuperMick@[EMAIL PROTECTED]
Nov 5, 2006 at 04:29 PM
Hi MM - I'm just in the process of writing a custom adapter myself.
Something to think about - even though the props are presented to us in a
prop. bag (handler, per config etc) and generally coding against a prop.
bag
we issue some sort of 'write' to the prop bag to update them.
Here is the 'challenge' with bts. - the bts adapter framework generates
the
prop. bag for us to use and work with.
When we want to 'update' the properties we need to update the property
store
(to make the changes permanent)
So in BTS - what is the 'prop store'???? all the adapter properties are
stored in the SSO database for security. So all your receive location and
send location configurations are stored here (try stopping the SSO DB and
see
how far you can get in the BTS Admin console??)
Getting back to the adapter - while (thankfully) I havent had to do it.
You might be able to use something like
(1) ExplorerOM - to 'adjust' your ReceiveHandler or SendHandler
(2) WMI APIs
(3) Going TO SSO directly through the SSO APIs
Obviously on the other hand, if you just wanted to make the change
tem****ary
- grab the polling interval from the first message and use it.....till
next
host Instance restart??
Good luck.
--
"...If you learn one thing a day then that's a good day.."
"mm" wrote:
> Hi All
>
> I have developed a custom adapter with biztalk 2006 adapter wizard.
> My problem is that i want to update a property runtime.
>
> When my adapter finds a message i want the polling interval to increase.
>
> there is a update(Iproperty bag, etc,etc ) method inside
ReceiverEndpoint
> internal class
> do anyone know where to find any examples on how to use that one.
> So i can update my properties.
>
> /mm
>
>
>