Wildfly Infinispan cache compatibility - wildfly

In Infinispan 6.0.x version is there
but what is property for in wildfly 8.2 ?
Thanks&Regards
Shankar

A cluster between infinispan and wildfly?
Both have different purpose.
Infispan as a DataGrid and WildFly as an application server.
Both use JGroups as underlying cluster communication but you should separate it.
Or did you mean you access the cache within an infinispan server from different clients?

Related

Hibernate Search 6 with Infinispan Directory Provider

Can't find any information about the Infinispan directory provider in the Hibernate Search 6.0 documentation.
See: https://docs.jboss.org/hibernate/search/6.0/reference/en-US/html_single
Does this mean, the Infinispan directory provider is not supported anymore since version 6.0?
Does this mean, the Infinispan directory provider is not supported anymore since version 6.0?
It does.
The Infinispan directory provider was deprecated in Infinispan 10.1 and removed in Infinispan 11.
There are plans to provide an actual Infinispan backend in Hibernate Search 6, one that would use the Infinispan APIs to index documents and run search queries instead of just storing indexes on Infinispan. But work on this backend hasn't started yet.
In the meantime, if you want a distributed search index, you can always use the Elasticsearch backend.

JBoss Switchyard Metrics - where to find the data in the server?

I'm using JBoss AS7 and can see metrics in the following link in the Admin console in my build environment.
http://localhost:10090/console/App.html#sy-metrics
But we don't have the console running in Production nor JMX.
Does JBoss store the metrics somewhere in the server installation which can be extracted for use? It will be useful to find out the services and the methods which are the biggest bottlenecks so that we can improve them.
There's no store of server metrics - you can use something like JBoss Operations Network (https://www.redhat.com/en/technologies/jboss-middleware/operations-network) to collect them, or if you enable JMX you could probably collect them in Prometheus.
I'm not sure whether you are using Fuse 6 or whether you are using community SwitchYard on top of AS 7 - if you're using Fuse 6, you can probably access the JMX beans through hawtio's jolokia instance.

Secure JBoss EAP 6 JMX channel

I'd like to know if it's possible to secure access to the JMX channel when running JBoss EAP 6 (or WildFly). AFAIK, the only available check is username and password which can be added just for remote connections.
Thanks!
The packaging of JMX has been removed from JBoss EAP due to probable security vulnerabilities, JMX was part of JBoss in their AS versions. I assume that you have deployed the JMX yourself onto your JBoss EAP server. So, definately, you will not get anything from JBoss EAP to secure your JMX access. But yes, you can implement your own username and passwrod authenticaiton.
Hope this helps.

Do HornetQ clusters use JBoss clustering when embedded?

I'll be using HornetQ 2.3.12 embedded in JBoss EAP 6.2 and need to have a few clustered queues.
Do I need to set up a JBoss cluster in order to have JMS clusters powered by HornetQ or HornetQ is independent? Based on the docs, I think it's the latter because the HornetQ clustering is part of HornetQ and can exist without JBoss.
The nodes are connected with a core bridge so the application deployed in each node will do a local JNDI lookup for the queue name, without the need to have clustered JNDI. Another reason that removes the need for the JBoss cluster.
HornetQ's clustering is totally independent of JBoss. You don't need to start any clustered thing on JBoss in order to start HornetQ's clustering.
Having said that most of the EAP examples on clustering come under JBoss Clustering tree. but that was just a choice to not confuse documentation. HornetQ is totally independent of JBoss on these terms

Managing deployments for nodes running Camel routes

I have an enterprise application that uses Camel routes and need to be able to provision/start/stop nodes running these Camel routes on multiple machines.
I am looking at Apache Karaf and JBoss Switchyard as 2 solutions to help me deploy and manage these routes. I think I understand the value of Apache Karaf since it is a osgi container and I can un/deploy new routes into it. Will JBoss Switchyard also help me for this issue?
JBoss Fuse
JBoss Fuse which includes Fuse Fabric can manage and provision containers in a cluster / cloud / etc.
http://fuse.fusesource.org/fabric/
JBoss Fuse uses Karaf as the container. So what you can do with Karaf you can do as well with JBoss Fuse.
On top of that Fuse Fabric brings to the table, all the cluster provisioning and management. And with a distributed registry for HA et all.
With JBoss Fuse you can deploy and manage your Camel routes in a cluster. And perform rolling upgrades / downgrades across the nodes in the cluster, and much more. And to go along with that you have commands in the Karaf Shell to perform actions, and as well a web console UI based on http://hawt.io/.
Short answer: Yes JBoss Fuse can manage and provision your Camel routes in a cluster.
SwitchYard
In terms of JBoss SwitchYard, then it uses JBoss Application Server / WildFly as its container (at this time of writing SY does not yet support OSGi). So SY leverages the clustering and management support from JBoss Application Server.
Yes with Apache Karaf you'll be able to deploy/undeploy routes by either installing the appropriate bundle or by installing the corresponding blueprint.xml (containing the route) as Karaf supports deploying of various xml files (which are generated to bundles at runtime). This will give you an easy way of deploying / Developing. Also available with karaf is the def:watch command, it'll help you with developing Bundles cause it will watch your file/maven-repo location for updates and will install those immediately in the container.
For distributing your routes throughout a cluster there is also Apache Karaf - Cellar, a subproject for maintaining Cluster ability for the Karaf container.
take a look at Zookeeper and its support for distributed route policies...
also, check out these master election examples
http://www.systemmobile.com/?p=399
http://frommyworkshop.blogspot.com/2013/06/leader-election-of-camel-router-through.html