<font style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);" color="#000099">In my application I am using the following flow:<br></font><ol style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">
<li>I am using Guvnor to allow customer to define business event structure through the &quot;Declarative Model&quot; feature.</li><li>After defining the model, customers write rules and package them into a snapshot where my event-driven-application-server can see.</li>
<li>My server load successfully the customer packages (couple hundreds of them).</li><li>Customer uses HornetQ client to produce events that respects the model that has been created using Guvnor.</li><li>I have HornetQ listeners in my application that listens to new events.</li>
<li>HornetQ listeners tries to deserialize the message bytes to an event object to insert it to the customer ksession<br></li></ol><span style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">The problem is that my server classloader has no idea about the model, so I use ASM to inject the class definition when ClassNotFoundException is thrown however this was not enough as serialVersionUID of client side object is going to be different from the ASM default injected one.</span><br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">
<br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);"><span style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">I know some of you might say why cant I use the same static final serialVersionUID in the client side as well as in the server side - the answer is I want to give control to customers to define whatever business model they want using Guvnor.</span><br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">
<span style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">Using jar file model will not give freedom to business users that Guvnor provide.</span><br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">
<br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);"><span style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">I am wondering if some of you were facing the same issue while using the fusion message queue streaming gate?</span><br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">
<br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);"><span style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">I am thinking to extend the Java ObjectInputStream and implement my own deserialization.</span><br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">
<span style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">Could Drools ksession accept bytes along side with objects (I mean in the future)  - Something like; &quot;ksession.insert(bytes)&quot;</span><br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">
<br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);"><span style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">Any ideas?</span><br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">
<br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);"><span style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">Abdel</span><br style="font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);">
<div style="visibility: hidden; display: inline; font-family: comic sans ms,sans-serif; color: rgb(0, 0, 153);" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>