create a modern(ish) bam portal in (roughly) one hour!
TRANSCRIPT
Sponsored & Brought to you by
Create a modern(ish) BAM portal in (roughly) one hour!Rob Bowman
https://www.linkedin.com/in/robbowman147
Create a modern(ish) BAM portal in (roughly) one hour!
Rob BowmanBizTalkers Ltd
www.biztalkers.com
Ever heard of thisThing they call“The Force”?
Single technology I’ve found adds most value given the effort required?
BAM
Reasons BAM doesn’t get used• Activity monitoring not seen as
essential for Go-Live of a project• It’s a new skill to learn – sometimes
developers turn to a technology they already have experience of such as Log4Net• The stock BAM Portal doesn’t give
the functionality expected
Why Developers Should Implement BAM
With the right portal in place, the business users can find answers themselves rather than having to ask the development or support teams.
Q: Why hasn’t the warehouse received the Purchase OrderA: Take a look on the BAM Portal
So why build a custom BAM portal?• The stock portal provides view over BAM Primary
Import db only• It doesn’t show data from ESB Exceptions database• It doesn’t provide a view of message payload
• Additional functionality• A BAM Portal is a convenient site to add additional
functionality such as:• task management – tickets raised for exceptions etc.• UI for maintaining cross reference data
A Consolidated View
Rcv Pipeline
MsgArchive
SourceData Source
DataMap Rcv
Pipeline
Msg Body
BAM
Timestamp & Key Data from Msg Body
MsgBox
Canonical Data
Exception Db
SendPipeline
Canonical DataSend Pipeline
Map
Msg Body
Timestamp & Key Data
Source System
Target System
TargetData
TargetData
BAMPortal
View
The custom BAM Portal provides a consolidated view of a message from source to target system
Aim of the Custom Portal• View summary of messages received and sent• Ability to drill-down to message payload• Link to the Exceptions database of the ESB Toolkit• Easy AD authentication• Potential for addition of useful admin type functionality such as:
• Resubmit a previously received message into BizTalk• Trigger BizTalk process e.g. rather than wait for scheduled task adapter• Provide a friendly UI over cross reference database• Basic task management workflow functionality e.g. tasks created on ESB
exception
Demo – Create the BAM Activity and Profile• Demo Existing “Simple” file type• Create new BAM Activity definition• Create new BAM Tracking Profile
How the Views Access / Display the Data
Example Razor View When Using MVC Pattern
Notice:ViewModel returned here
Example Razor View When Using MVVM Pattern
Notice:ViewModel not returned here
Demo Adding New Process (Votes) to be Monitored• Would expect more code reuse (generics) but for purpose of demo –
LOTS of COPY & PASTE!
Acknowledgments• BizTalk Message Archive Component• Randy Aldrich Pualo• http://biztalkarchiving.codeplex.com/
• KO Grid• Eric M. Barnard, Tim Sweet, Jonathan Ricaurte, Alan Souza• https://github.com/Knockout-Contrib/KoGrid
• Datatellblog.wordpress.com• Ross? • Great advice on using KoGrid