You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "sunil kumar (JIRA)" <ji...@apache.org> on 2017/10/13 06:07:00 UTC

[jira] [Commented] (AMQ-6840) Getting error: cannot find symbol [javac] entry.setAdvisdoryForFastProducers(true); with ActiveMQ 5.13.0

    [ https://issues.apache.org/jira/browse/AMQ-6840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203103#comment-16203103 ] 

sunil kumar commented on AMQ-6840:
----------------------------------

Our implementation is something like this :
PolicyEntry entry = new PolicyEntry();
			entry.setAdvisdoryForFastProducers(true);
			entry.setAdvisoryForConsumed(true);
			entry.setAdvisoryForDelivery(true);
			entry.setAdvisoryForDiscardingMessages(true);
			entry.setAdvisoryForSlowConsumers(true);
			entry.setAdvisoryWhenFull(true);
			entry.setQueue(">");
			entry.setMemoryLimit(m_queueMemoryLimit);
			entry.setOptimizedDispatch(true);
			entry.setProducerFlowControl(true);
			//entry.setMaxPageSize(10); //only used when persistent?
			entry.setLazyDispatch(true); 

And we are getting the method deprecated error.. I went through the activemq 5.13.0 APIs and i can see the setAdvisdoryForFastProducers.
Please guide us in fixing this issue.

> Getting error: cannot find symbol  [javac] entry.setAdvisdoryForFastProducers(true); with ActiveMQ 5.13.0
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-6840
>                 URL: https://issues.apache.org/jira/browse/AMQ-6840
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.13.0
>            Reporter: sunil kumar
>            Priority: Blocker
>
> Getting 
> error: cannot find symbol  [javac] entry.setAdvisdoryForFastProducers(true); with ActiveMQ 5.13.0
> Note : Using new jar(activemq.broker-5.13.0.jar and client jar)
> Which is working fine with activeMQ 5.5.1(activemq.core-5.5.1.jar)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)