DId you run "create async-event-queue"?

On Mon, Nov 25, 2019 at 9:23 AM anjana_nair <siby_sek...@hotmail.com> wrote:

> Hi,
>
> We are trying to solve cloud replication  using
> asyncEventListeners.However
> the sample AsyncEventListener is not  getting fired when I try a put. Could
> you please look into this. Commands tried out are below.
>
> I am starting to write   an AsyncEventListener  to store messages to
> Cassandra.However Listener is not getting fired. Following are the commands
> tried from command line.
>
> 1.gfsh>deploy --jars=test-2019.11.17.jar
>
> Deploying files: test-2019.11.17.jar
> Total file size is: 0.00MB
>
> Continue?  (Y/n): y
> Member  |    Deployed JAR     | Deployed JAR Location
> ------- | ------------------- |
> ------------------------------------------------
> server1 | test-2019.11.17.jar |
> H:\GemFire_Server\server1\test-2019.11.17.v1.jar
>
> 2.gfsh>create region --name=sample1 --type=REPLICATE
> --async-event-queue-id=sampleq
> Member  | Status
> ------- | --------------------------------------
> server1 | Region "/sample1" created on "server1"
>
> 3.gfsh>create region --name=sample1 --type=REPLICATE
> --async-event-queue-id=sample
> Member  | Status
> ------- | --------------------------------------
> server1 | Region "/sample1" created on "server1"
>
> gfsh>put --key=('123') --value=('ABC') --region=sample1
> Result      : true
> Key Class   : java.lang.String
> Key         : ('123')
> Value Class : java.lang.String
> Old Value   : <NULL>
>
>
> gfsh>put --key=('123') --value=('ABC1') --region=sample1
> Result      : true
> Key Class   : java.lang.String
> Key         : ('123')
> Value Class : java.lang.String
> Old Value   : ('ABC')
>
>
> However I see that Listener is not fired.
>
> What could be wrong ? My Listener is very simple with some simple print
> statements.
>
>
>
>
> --
> Sent from:
> http://apache-geode-incubating-developers-forum.70738.x6.nabble.com/
>

Reply via email to