我使用OOTB表单组件创建了一个表单。提交时,它正在点击我在post.POST.html
中写的服务。它会在路径cq:Page
下创建主要类型为jcr:content
且cq:PageContent
且主要类型为/content/usergenerated/content
的节点。我还在cq:distribute
添加了"true"
属性。我已完成作者和发布模式的所有配置。在上述路径下创建节点。我得到的问题是轮询并不是我的情况。当节点在“发布”模式下创建时,我无法看到“作者”模式中的更改。
我的控制台正在以作者模式打印:
19.05.2016 12:13:43.767 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse Sending GET request to http://localhost:4503/bin/receive?sling:authRequestLogin=1
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse sent. Response: 200 OK
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse ------------------------------------------------
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse Sending message to localhost:4503
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse >> GET /bin/receive?sling:authRequestLogin=1 HTTP/1.0
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse >> Action: Internal Poll
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse >> Path:
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse >> Handle:
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse --
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse << HTTP/1.1 200 OK
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse << Date: Thu, 19 May 2016 06:43:43 GMT
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse << X-Content-Type-Options: nosniff
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse << Content-Type: application/octet-stream
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse << Content-Length: 32
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse << Server: Jetty(9.2.9.v20150224)
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse << X-Powered-By: Jetty(9.2.9.v20150224)
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse Message sent.
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse ------------------------------------------------
19.05.2016 12:13:43.786 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse Reverse replication successful.
19.05.2016 12:13:43.787 *INFO* [pool-6-thread-4] com.day.cq.replication.Agent.publish_reverse Fetched 0 contents from http://localhost:4503/bin/receive?sling:authRequestLogin=1 since null