Hi Rabi,
    In my current flow I am sending xml message as input to consumer. And
applying Saxon transformer by using pipeline, and for debugging the messages
I am using taps in my flow. Next, according to the conditions I am routing
my message to next component by using content base router.  XXX is drools
component. I placed drools component in between two components. Drools rule
create a new exchange target by using the source component service name and
will send it to the specified destination. 

    In my work flow, rules are written to represent behaviors of the type IF
condition THEN action. Just like production/inference rule engine. 
   
      I am trying to use Drools component as Event based Rule engine. For
example rule engine could be used to alert a user when certain exception
happen in the message flow then it should take an action according to rules.
Just like reactive rules engine. 
      1)Is this possible with Servicemix Drools component?
      2)Is the above implementation correct for using drools?
      3)Can we integrate jBPM in servicemix (I am new to this technologies,
help me or give me the pointers)
 

Thanks & Regards,
Rohit.


rabi wrote:
> 
> 
> Rohit,
> 
> I do not understand your usecase. What do you mean by  "generating
> events based on some business process"??? 
> 
> I also do not understand the current flow you mentioned. You have used
> so many eip components...
> 
> -----Original Message-----
> From: Rohit Kumar [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 25, 2007 1:22 PM
> To: [email protected]
> Subject: RE: Servicemix support to easily interact with any BPM tool
> 
> 
> Hi Rabi,
> 
>   According to you, i did an example by using drools and my component
> setup is as follows
> 
>     JMS
> consumer--->XXX--->eip:Tap--->XXX--->eip:pipeline--->XXX--->Content
> Based Router--->XXX--->http BC--->XXX--->eip:Tap.
> 
>    where XXX is a drools component having routing logic.
> 
> Now XXX is containing purely the routing logic. How can i make use of
> XXX for generating events based on some business process.
> 
> is the above implementation correct for using dools.
> 
>     
> 
> rabi wrote:
>> 
>> 
>>>Hi Rabi Mishra,
>>>     Iam having some knowlege of drools.   
>> 
>>>My idea is  to add hooks for every service which could get an event 
>>>from Rules Engine. Rules Engine should be capable of generating events
> 
>>>based on ceratin condition and notify them to the hooks using JMS 
>>>channel. Is this possible?
>>  
>> Yes, servicemix  can receive events/messages over JMS channel. You can
> 
>> JMS Binding component for the same. Drools can also be used embeded in
> 
>> servicemix (Drools SE)
>> 
>>>       1) How can i make use of Drools for my scenario
>> You can use either way that suits you best...
>>  >      2) Is drools component provided by servicemix will support
> just
>>>routing of the messages?
>> Drools binding component is not for routing. You can write your rules 
>> and do whaever processing of the message , change the conetent of the 
>> message and send it to the next component.
>>  
>>  
>>    >    3) What is the difference between BPEL and Drools.
>> 
>> BPEL (Business Process Execution Laguage) is a standard for webservice
> 
>> orchestration and Drools is a rule engine. They serve different
> puposes.
>> 
>>>     Please direct me.
>> 
>>    
>> 
>>  Thanks in advance.
>>  
>> 
>> 
>> 
>> The information contained in this electronic message and any 
>> attachments to this message are intended for the exclusive use of the 
>> addressee(s) and may contain proprietary, confidential or privileged 
>> information. If you are not the intended recipient, you should not 
>> disseminate, distribute or copy this e-mail. Please notify the sender 
>> immediately and destroy all copies of this message and any
> attachments.
>> 
>> WARNING: Computer viruses can be transmitted via email. The recipient 
>> should check this email and any attachments for the presence of
> viruses.
>> The company accepts no liability for any damage caused by any virus 
>> transmitted by this email.
>>  
>> www.wipro.com
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/Servicemix-support-to-easily-interact-with-any-BPM
> -tool-tf4102567s12049.html#a11778046
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> 
> 
> 
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you
> are not the intended recipient, you should not disseminate, distribute or
> copy this e-mail. Please notify the sender immediately and destroy all
> copies of this message and any attachments. 
> 
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>  
> www.wipro.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Servicemix-support-to-easily-interact-with-any-BPM-tool-tf4102567s12049.html#a11921644
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to