Re: Using Environment Variables in Activemq.xml

2018-03-23 Thread bwa
Hello all. How can I set ${xxx} variables from windows environment.

Typically ${log.dir} = %LOG_DIR% from windows

/bwa



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html


Re: Camel generating message with correlationid=null and tmp-queue null

2018-03-23 Thread Rajesh Malla
it seems blockingQueue is not actually ACTiveMQDestination, just it is java,
so any other suggestions ?

at that state we are not able to connect to cloud broker , on client side we
are getting :
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(Unknown Source)[:1.8.0_60]
at
org.apache.activemq.transport.util.TextWireFormat.unmarshal(TextWireFormat.java:52)[120:org.apache.activemq.activemq-osgi:5.12.3]
at
org.apache.activemq.transport.http.HttpClientTransport.run(HttpClientTransport.java:196)[120:org.apache.activemq.activemq-osgi:5.12.3]
... 1 more

also, we are getting this only when we are adding networkpeer. we also tried
removing of InactivityMonitor and also tried increasing
setConnectAttemptTimeout to 5 minutes. but still issue exists.




--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html


Re: Camel generating message with correlationid=null and tmp-queue null

2018-03-23 Thread Rajesh Malla
thank you Tim,

>>Caused by: java.io.IOException: Failed to perform GET on: https://URL
>>Reason: null 
>>at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)[120:org.apache.activemq.activemq-osgi:5.12.3]
 
>>at
org.apache.activemq.transport.http.HttpClientTransport.run(HttpClientTransport.java:205)[120:org.apache.activemq.activemq-osgi:5.12.3]
 
>>... 1 more 
>>Caused by: java.io.EOFException 
>>at java.io.DataInputStream.readInt(Unknown Source)[:1.8.0_60] 
>>at
org.apache.activemq.transport.util.TextWireFormat.unmarshal(TextWireFormat.java:52)[120:org.apache.activemq.activemq-osgi:5.12.3]
 
>>at
org.apache.activemq.transport.http.HttpClientTransport.run(HttpClientTransport.java:196)[120:org.apache.activemq.activemq-osgi:5.12.3]
 
>>... 1 more 

>>Is this the root cause of why your connections are already closed when 
>>trying to open sessions, etc.? If so, there's one of two possibilities: 
>>1. The broker is experiencing errors that cause it to close the connection 
>>prematurely. What do you see in the broker logs? Everything you've
provided 
>>so far has been from the consumer's logs. 
>>2. The load balancer is experiencing behavior that cause it to terminate 
>>the connection prematurely, e.g. due to inactivity or other problems. If 
>>there's nothing in the broker's logs that indicates a problem, this would 
>>be the next place to dig into. 


for the IOException, we are seeing below problem

clientID: ID:7450-51820-1521801292483-0:1

2018-03-23 06:35:01,302 58688438 [CustHttpTransportServer_1926295252-120]
(org.apache.activemq.activemq-osgi:org.apache.activemq.transport.http.HttpTunnelServlet:175)
WARN   - The clientID header specified is invalid. Client sesion has not yet
been established for it: ID:7450-51820-1521801292483-0:1

so, we are suspecting this is coming bcz blockingqueus are not able to
create, in our n/w peer we removed
networkConnector.addDynamicallyIncludedDestination condition because of this
even blocking queues are also replicated which is causing this problem
[assumption].
so blocking queues are created with *blockingQueue_* 

can you please suggest what pattern to exclude this blocking queue. or any
other suggestions ?
if we exclude blockingQueue_*  or  blockingQueue.* ? 
or any other way we need to follow ? please suggest



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html