Re: [Dev] [ESB] Message processors support to On Store Sequence

2016-03-09 Thread Dilshani Subasinghe
Hi all,

Found the solution for particular issue. Error indicating about failing to
connect deactivate sequence.



* WARN - ForwardingService Failed to send the message through the
deactivate sequence. Sequence name does not Exist.*
According to configuration, after maximum delivery attempts, it will find
the deactivate sequence. But in this scenario, "Deactivate sequence" not
given.

So Configured "Drop message after maximum delivery attempts" as "Enabled".

This redelivery process going on because of back-end service is not alive
or processor can't find endpoint.

In this scenario, it was given direct endpoint (
http://127.0.0.1:9000/services/SimpleStockQuoteService) rather than giving
previously created endpoint. So it also cause for the issue.

Configuring those parameters, solved the issue. Hope this will be helpful
to someone.

Regards,
Dilshani.


On Thu, Mar 10, 2016 at 8:14 AM, Dilshani Subasinghe 
wrote:

> Hi ESB Team,
>
> When I am configuring Store mediator, I created an On Store Sequence.
>
>
>
> *http://ws.apache.org/ns/synapse
> "> sequence="conf:/registrySeq"
> xmlns:axis2ns17="http://ws.apache.org/ns/synapse
> "/>*
>
> Then I created another sequence with a store mediator (Store mediator used
> On Store Sequence)
>
>
>
>
>
> * sequence="conf:/registrySeq"/>  *
> Created a proxy and invoked it using axis2Client.
>
>
>
>
> * transports="http https"> inSequence="onstoreSeq"/>*
>
> Then I tried to add a Scheduled Message Forwarding Processor to send
> messages in the message store. As I used Store mediator through On Store
> Sequence, processor will automatically deactivate:
>
>
>
>
>
>
>
>
>
>
>
>
>
> *ForwardingService Deactivating the message processor
> [storeProce]java.lang.NullPointerExceptionat
> org.apache.synapse.message.processor.impl.forwarder.ForwardingService.dispatch(ForwardingService.java:431)
> at
> org.apache.synapse.message.processor.impl.forwarder.ForwardingService.execute(ForwardingService.java:204)
> at
> org.wso2.carbon.mediation.ntask.NTaskAdapter.execute(NTaskAdapter.java:90)
> at
> org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:213)at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)[2016-03-09 23:58:51,712]  WARN -
> ForwardingService Failed to send the message through the deactivate
> sequence. Sequence name does not Exist.*
>
>
> *Issue*: Can we implement message processor which have connection to On
> Store Sequence as it not including in synapse ? Why message processor do
> not identify On Store Sequence?
>
> Any clarification on this ? Any help will be highly appreciated.
>
> PS: Attached Synapse Configuration XML.
>
> Thank you.
>
> --
> Best Regards,
>
> Dilshani Subasinghe
> Software Engineer - QA
> WSO2, Inc.;http://wso2.com/
> 
> lean.enterprise.middleware
>
> Mobile: +94773375185
>



-- 
Best Regards,

Dilshani Subasinghe
Software Engineer - QA
WSO2, Inc.;http://wso2.com/

lean.enterprise.middleware

Mobile: +94773375185
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB] Message processors support to On Store Sequence

2016-03-09 Thread Dilshani Subasinghe
Hi ESB Team,

When I am configuring Store mediator, I created an On Store Sequence.



*http://ws.apache.org/ns/synapse
">http://ws.apache.org/ns/synapse
"/>*

Then I created another sequence with a store mediator (Store mediator used
On Store Sequence)





*  *
Created a proxy and invoked it using axis2Client.




*
*

Then I tried to add a Scheduled Message Forwarding Processor to send
messages in the message store. As I used Store mediator through On Store
Sequence, processor will automatically deactivate:













*ForwardingService Deactivating the message processor
[storeProce]java.lang.NullPointerExceptionat
org.apache.synapse.message.processor.impl.forwarder.ForwardingService.dispatch(ForwardingService.java:431)
at
org.apache.synapse.message.processor.impl.forwarder.ForwardingService.execute(ForwardingService.java:204)
at
org.wso2.carbon.mediation.ntask.NTaskAdapter.execute(NTaskAdapter.java:90)
at
org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)[2016-03-09 23:58:51,712]  WARN -
ForwardingService Failed to send the message through the deactivate
sequence. Sequence name does not Exist.*


*Issue*: Can we implement message processor which have connection to On
Store Sequence as it not including in synapse ? Why message processor do
not identify On Store Sequence?

Any clarification on this ? Any help will be highly appreciated.

PS: Attached Synapse Configuration XML.

Thank you.

-- 
Best Regards,

Dilshani Subasinghe
Software Engineer - QA
WSO2, Inc.;http://wso2.com/

lean.enterprise.middleware

Mobile: +94773375185

http://ws.apache.org/ns/synapse;>

15000























http://localhost:9000.*; source="get-property('To')">







The main sequence for the message mediation


http://127.0.0.1:9000/services/SimpleStockQuoteService;>
1000
false
4
1
Disabled
1000
true
http://127.0.0.1:9000/services/SimpleStockQuoteService


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev